brintos

brintos / llvm-project-archived public Read only

0
0
Text · 828 B · 5889484 Raw
15 lines · c
1// RUN: %clang -### -target arm-none-none-eabi -march=armv8.5a+i8mm %s 2>&1 | FileCheck %s2// RUN: %clang -### -target aarch64-none-elf -march=armv8.5a+i8mm %s 2>&1 | FileCheck %s3// 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=NOI8MM7// RUN: %clang -### -target aarch64-none-elf -march=armv8.6a+noi8mm %s 2>&1 | FileCheck %s --check-prefix=NOI8MM8// 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=ABSENT12// RUN: %clang -### -target aarch64-none-elf %s 2>&1 | FileCheck %s --check-prefix=ABSENT13// ABSENT-NOT: "-target-feature" "+i8mm"14// ABSENT-NOT: "-target-feature" "-i8mm"15