1 // RUN: %clang -### -target arm-none-none-eabi -march=armv8.5a+i8mm %s 2>&1 | FileCheck %s
2 // RUN: %clang -### -target aarch64-none-none-eabi -march=armv8.5a+i8mm %s 2>&1 | FileCheck %s
3 // CHECK: "-target-feature" "+i8mm"
4 // CHECK-NOT: "-target-feature" "-i8mm"
5 
6 // RUN: %clang -### -target arm-none-none-eabi -march=armv8.6a+noi8mm %s 2>&1 | FileCheck %s --check-prefix=NOI8MM
7 // RUN: %clang -### -target aarch64-none-none-eabi -march=armv8.6a+noi8mm %s 2>&1 | FileCheck %s --check-prefix=NOI8MM
8 // NOI8MM: "-target-feature" "-i8mm"
9 // NOI8MM-NOT: "-target-feature" "+i8mm"
10 
11 // RUN: %clang -### -target arm-none-none-eabi %s 2>&1 | FileCheck %s --check-prefix=ABSENT
12 // RUN: %clang -### -target aarch64-none-none-eabi %s 2>&1 | FileCheck %s --check-prefix=ABSENT
13 // ABSENT-NOT: "-target-feature" "+i8mm"
14 // ABSENT-NOT: "-target-feature" "-i8mm"
15