Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / ps4-ps5-toolchain.c
blob444e9df24714bd95dc9b1bc53594def19e9cd0dd
1 /// PS4/PS5 miscellaneous toolchain behavior.
3 // RUN: %clang -c %s -### -target x86_64-scei-ps4 2>&1 | FileCheck %s
4 // RUN: %clang -c %s -### -target x86_64-sie-ps5 2>&1 | FileCheck %s
5 // CHECK-DAG: "-ffunction-sections"
6 // CHECK-DAG: "-fdata-sections"
7 // CHECK-DAG: "-fdeclspec"
9 /// Verify LTO is enabled (no diagnostic).
10 // RUN: %clang %s -### -target x86_64-scei-ps4 -flto 2>&1 | FileCheck %s --check-prefix=LTO
11 // RUN: %clang %s -### -target x86_64-sie-ps5 -flto 2>&1 | FileCheck %s --check-prefix=LTO
12 // LTO-NOT: error:
13 // LTO-NOT: unable to pass LLVM bit-code