Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / aix-maix.c
blob726663b8038e8ea91b1cd87c0eefacab180f2704
1 // Check GCC AIX bitmode compat options.
3 // RUN: %clang -target powerpc-ibm-aix -maix64 -### -c %s 2>&1 | \
4 // RUN: FileCheck --check-prefix=CHECK64 %s
6 // RUN: %clang -target powerpc64-ibm-aix -maix32 -### -c %s 2>&1 | \
7 // RUN: FileCheck --check-prefix=CHECK32 %s
9 // RUN: not %clang --target=powerpc-unknown-linux -maix64 -### -c %s 2>&1 | \
10 // RUN: FileCheck --check-prefix=ERROR %s
12 // RUN: not %clang --target=powerpc64-unknown-linux -maix32 -### -c %s 2>&1 | \
13 // RUN: FileCheck --check-prefix=ERROR %s
15 // CHECK32: Target: powerpc-ibm-aix
16 // CHECK64: Target: powerpc64-ibm-aix
17 // ERROR: error: unsupported option '-maix