[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / arm-nofp-disabled-features.c
blob247d67084d21aa163d5f06b5991dd1061025081b
1 // RUN: %clang -target arm-arm-none-eabi -mfloat-abi=soft %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-MFLOAT-ABI-SOFT
2 // CHECK-MFLOAT-ABI-SOFT: "-target-feature" "-dotprod"
3 // CHECK-MFLOAT-ABI-SOFT: "-target-feature" "-fp16fml"
4 // CHECK-MFLOAT-ABI-SOFT: "-target-feature" "-bf16"
5 // CHECK-MFLOAT-ABI-SOFT: "-target-feature" "-mve"
6 // CHECK-MFLOAT-ABI-SOFT: "-target-feature" "-mve.fp"
7 // CHECK-MFLOAT-ABI-SOFT: "-target-feature" "-fpregs"
9 // RUN: %clang -target arm-arm-none-eabi -mfpu=none %s -### 2>&1 | FileCheck %s
10 // RUN: %clang -target arm-arm-none-eabi -march=armv8-a+nofp %s -### 2>&1 | FileCheck %s
11 // RUN: %clang -target arm-arm-none-eabi -mcpu=cortex-a35+nofp %s -### 2>&1 | FileCheck %s
12 // RUN: %clang -target arm-arm-none-eabi -mcpu=cortex-m85+nofp %s -### 2>&1 | FileCheck %s
13 // RUN: %clang -target arm-arm-none-eabi -march=armv8-a+nofp+nomve %s -### 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-NOMVE
14 // RUN: %clang -target arm-arm-none-eabi -mcpu=cortex-a35+nofp+nomve %s -### 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-NOMVE
15 // RUN: %clang -target arm-arm-none-eabi -mcpu=cortex-m85+nofp+nomve %s -### 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-NOMVE
16 // CHECK: "-target-feature" "-dotprod"
17 // CHECK: "-target-feature" "-fp16fml"
18 // CHECK: "-target-feature" "-bf16"
19 // CHECK: "-target-feature" "-mve.fp"
20 // CHECK-NOMVE: "-target-feature" "-fpregs"