[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / aarch64-mops.c
blob62607ff9d34077ed189680e263bd8788a8149d5a
1 // Test that target feature mops is implemented and available correctly
2 // RUN: %clang -S -o - -emit-llvm --target=aarch64-none-elf -march=armv8.7-a+mops %s 2>&1 | FileCheck %s
3 // RUN: %clang -S -o - -emit-llvm --target=aarch64-none-elf -march=armv8.8-a %s 2>&1 | FileCheck %s
4 // RUN: %clang -S -o - -emit-llvm --target=aarch64-none-elf -march=armv8.8-a+mops %s 2>&1 | FileCheck %s
5 // RUN: %clang -S -o - -emit-llvm --target=aarch64-none-elf -march=armv8.8-a+nomops %s 2>&1 | FileCheck %s --check-prefix=NO_MOPS
6 // RUN: %clang -S -o - -emit-llvm --target=aarch64-none-elf -march=armv9.2-a+mops %s 2>&1 | FileCheck %s
7 // RUN: %clang -S -o - -emit-llvm --target=aarch64-none-elf -march=armv9.3-a %s 2>&1 | FileCheck %s
8 // RUN: %clang -S -o - -emit-llvm --target=aarch64-none-elf -march=armv9.3-a+mops %s 2>&1 | FileCheck %s
9 // RUN: %clang -S -o - -emit-llvm --target=aarch64-none-elf -march=armv9.3-a+nomops %s 2>&1 | FileCheck %s --check-prefix=NO_MOPS
11 // CHECK: "target-features"="{{.*}},+mops
12 // NO_MOPS: "target-features"="{{.*}},-mops
14 void test() {}