Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / pr12251.c
blob212a0cf955123b339c752ce2e139857177d18cd7
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin %s -emit-llvm -O1 -relaxed-aliasing -o - | FileCheck %s
3 enum e1 {e1_a = -1 };
4 enum e1 g1(enum e1 *x) {
5 return *x;
8 // CHECK-LABEL: define{{.*}} i32 @g1
9 // CHECK: load i32, ptr %x, align 4
10 // CHECK-NOT: range
11 // CHECK: ret