[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Driver / arm-matrix-multiply.c
blobb1f620d4b6f751ba30dfc2284016924013c119b9
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"
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"
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"