Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / arm-sb.c
blob9c2bf082d5b029d8ddf99d18ed98859c77771b62
1 // RUN: %clang -### -target arm-none-none-eabi -march=armv8a+sb %s 2>&1 | FileCheck %s
2 // RUN: %clang -### -target aarch64-none-elf -march=armv8a+sb %s 2>&1 | FileCheck %s
3 // CHECK: "-target-feature" "+sb"
4 // CHECK-NOT: "-target-feature" "-sb"
6 // RUN: %clang -### -target arm-none-none-eabi -march=armv8.5a+nosb %s 2>&1 | FileCheck %s --check-prefix=NOSB
7 // RUN: %clang -### -target aarch64-none-elf -march=armv8.5a+nosb %s 2>&1 | FileCheck %s --check-prefix=NOSB
8 // NOSB: "-target-feature" "-sb"
9 // NOSB-NOT: "-target-feature" "+sb"
11 // RUN: %clang -### -target arm-none-none-eabi %s 2>&1 | FileCheck %s --check-prefix=ABSENT
12 // RUN: %clang -### -target aarch64-none-elf %s 2>&1 | FileCheck %s --check-prefix=ABSENT
13 // ABSENT-NOT: "-target-feature" "+sb"
14 // ABSENT-NOT: "-target-feature" "-sb"