Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / preserve-uselistorder.c
blob3063638c3bd653b2ac5789b29990941c0fafb17b
1 // RUN: not %clang -target x86_64-apple-darwin -emit-llvm -arch x86_64 %s -### 2>&1 \
2 // RUN: | FileCheck %s
3 // CHECK: "-emit-llvm-bc"
4 // CHECK: "-emit-llvm-uselists"
6 // RUN: %clang -target x86_64-apple-darwin -flto -arch x86_64 %s -### 2>&1 \
7 // RUN: | FileCheck -check-prefix=LTO %s
8 // LTO: "-emit-llvm-bc"
9 // LTO-NOT: "-emit-llvm-uselists"