1 // RUN: %clang -target arm-none-none-eabi -march=armv8m.main %s -### -c 2>&1 | FileCheck %s --check-prefixes=CHECK-NOCDE,CHECK-NOCDE-V8 2 // RUN: %clang -target arm-none-none-eabi -march=armv8.1m.main %s -### -c 2>&1 | FileCheck %s --check-prefixes=CHECK-NOCDE,CHECK-NOCDE-V81 3 // CHECK-NOCDE-V8: "-triple" "thumbv8m.main-none-none-eabi" 4 // CHECK-NOCDE-V81: "-triple" "thumbv8.1m.main-none-none-eabi" 5 // CHECK-NOCDE-NOT: "-target-feature" "+cdecp0" 6 // CHECK-NOCDE-NOT: "-target-feature" "+cdecp1" 7 // CHECK-NOCDE-NOT: "-target-feature" "+cdecp2" 8 // CHECK-NOCDE-NOT: "-target-feature" "+cdecp3" 9 // CHECK-NOCDE-NOT: "-target-feature" "+cdecp4" 10 // CHECK-NOCDE-NOT: "-target-feature" "+cdecp5" 11 // CHECK-NOCDE-NOT: "-target-feature" "+cdecp6" 12 // CHECK-NOCDE-NOT: "-target-feature" "+cdecp7" 13 14 // RUN: %clang -target arm-none-none-eabi -march=armv8m.main+cdecp0+cdecp3 %s -### -c 2>&1 | FileCheck %s --check-prefixes=CHECK-CDE1,CHECK-CDE1-V8 15 // RUN: %clang -target arm-none-none-eabi -march=armv8.1m.main+cdecp0+cdecp3 %s -### -c 2>&1 | FileCheck %s --check-prefixes=CHECK-CDE1,CHECK-CDE1-V81 16 // RUN: %clang -target arm-none-none-eabi -march=armv8.1m.main+mve.fp+cdecp0+cdecp3 %s -### -c 2>&1 | FileCheck %s --check-prefixes=CHECK-CDE1,CHECK-CDE1-V81MVE 17 // CHECK-CDE1-V8: "-triple" "thumbv8m.main-none-none-eabi" 18 // CHECK-CDE1-V81: "-triple" "thumbv8.1m.main-none-none-eabi" 19 // CHECK-CDE1-V81MVE: "-triple" "thumbv8.1m.main-none-none-eabi" 20 // CHECK-CDE1-V81MVE-DAG: "-target-feature" "+mve.fp" 21 // CHECK-CDE1-DAG: "-target-feature" "+cdecp0" 22 // CHECK-CDE1-DAG: "-target-feature" "+cdecp3" 23 24 // RUN: %clang -target arm-none-none-eabi -march=armv8m.main+cdecp0+cdecp3 %s -### -c 2>&1 | FileCheck %s --check-prefixes=CHECK-CDE2,CHECK-CDE2-V8 25 // RUN: %clang -target arm-none-none-eabi -march=armv8.1m.main+cdecp0+cdecp3 %s -### -c 2>&1 | FileCheck %s --check-prefixes=CHECK-CDE2,CHECK-CDE2-V81 26 // CHECK-CDE2-V8: "-triple" "thumbv8m.main-none-none-eabi" 27 // CHECK-CDE2-V81: "-triple" "thumbv8.1m.main-none-none-eabi" 28 // CHECK-CDE2-NOT: "-target-feature" "+cdecp1" 29 // CHECK-CDE2-NOT: "-target-feature" "+cdecp2" 30 // CHECK-CDE2-NOT: "-target-feature" "+cdecp4" 31 // CHECK-CDE2-NOT: "-target-feature" "+cdecp5" 32 // CHECK-CDE2-NOT: "-target-feature" "+cdecp6" 33 // CHECK-CDE2-NOT: "-target-feature" "+cdecp7" 34