[RISCV] Simplify usage of SplatPat_simm5_plus1. NFC (#125340)
[llvm-project.git] / clang / test / Driver / aarch64-ls64.c
blob7d828a22c60fd8bca77131226f43ce9e502460db
1 // Test that target feature ls64 is implemented and available correctly
3 // RUN: %clang -### --target=aarch64-none-elf -march=armv8.7-a+ls64 %s 2>&1 | FileCheck %s
4 // CHECK: "-target-feature" "+ls64"
6 // RUN: %clang -### --target=aarch64-none-elf -march=armv8.7-a+nols64 %s 2>&1 | FileCheck %s --check-prefix=ABSENT_LS64
8 // The LD64B/ST64B accelerator extension is disabled by default.
9 // RUN: %clang -### --target=aarch64-none-elf %s 2>&1 | FileCheck %s --check-prefix=ABSENT_LS64
10 // RUN: %clang -### --target=aarch64-none-elf -march=armv8.7-a %s 2>&1 | FileCheck %s --check-prefix=ABSENT_LS64
11 // RUN: %clang -### --target=aarch64-none-elf -march=armv8.7-a %s 2>&1 | FileCheck %s --check-prefix=ABSENT_LS64
12 // ABSENT_LS64-NOT: "-target-feature" "+ls64"
13 // ABSENT_LS64-NOT: "-target-feature" "-ls64"