Home | History | Annotate | Download | only in CodeGen
      1 // RUN: %clang_cc1 -triple x86_64-apple-darwin %s -emit-llvm -O1 -relaxed-aliasing -o - | FileCheck %s
      2 
      3 enum e1 {e1_a = -1 };
      4 enum e1 g1(enum e1 *x) {
      5   return *x;
      6 }
      7 
      8 // CHECK: define i32 @g1
      9 // CHECK: load i32* %x, align 4
     10 // CHECK-NOT: range
     11 // CHECK: ret
     12