brintos

brintos / llvm-project-archived public Read only

0
0
Text · 993 B · 9c0f381 Raw
17 lines · c
1// RUN: %clang -### -target arm-none-none-eabi -march=armv8a+sb %s 2>&1 | FileCheck %s2// RUN: %clang -### -target aarch64-none-elf -march=armv8a+sb %s 2>&1 | FileCheck %s3// RUN: %clang -### -target aarch64-none-elf -mcpu=cortex-a510 %s 2>&1 | FileCheck %s4// CHECK: "-target-feature" "+sb"5// CHECK-NOT: "-target-feature" "-sb"6 7// RUN: %clang -### -target arm-none-none-eabi -march=armv8.5a+nosb %s 2>&1 | FileCheck %s --check-prefix=NOSB8// RUN: %clang -### -target aarch64-none-elf -mcpu=cortex-a510+nosb %s 2>&1 | FileCheck %s --check-prefix=NOSB9// NOSB: "-target-feature" "-sb"10// NOSB-NOT: "-target-feature" "+sb"11 12// RUN: %clang -### -target arm-none-none-eabi %s 2>&1 | FileCheck %s --check-prefix=ABSENT13// RUN: %clang -### -target aarch64-none-elf %s 2>&1 | FileCheck %s --check-prefix=ABSENT14// RUN: %clang -### -target aarch64-none-elf -march=armv8.5a+nosb %s 2>&1 | FileCheck %s --check-prefix=NOSB15// ABSENT-NOT: "-target-feature" "+sb"16// ABSENT-NOT: "-target-feature" "-sb"17