Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / aarch64-lse128.c
blobd0bf31e49c9656fe5fee4a00e38ccbfe584f41ea
1 // Test that target feature lse128 is implemented and available correctly
3 // FEAT_LSE128 is optional (off by default) for v9.4a and older, and can be enabled using +lse128
4 // RUN: %clang -### --target=aarch64-none-elf -march=armv9.4-a %s 2>&1 | FileCheck %s --check-prefix=NOT_ENABLED
5 // RUN: %clang -### --target=aarch64-none-elf -march=armv9.4-a+lse128 %s 2>&1 | FileCheck %s --check-prefix=ENABLED
6 // RUN: %clang -### --target=aarch64-none-elf -march=armv9.4-a+nolse128 %s 2>&1 | FileCheck %s --check-prefix=DISABLED
8 // ENABLED: "-target-feature" "+lse128"
9 // NOT_ENABLED-NOT: "-target-feature" "+lse128"
10 // DISABLED: "-target-feature" "-lse128"