brintos

brintos / llvm-project-archived public Read only

0
0
Text · 676 B · afa0830 Raw
13 lines · c
1// RUN: %clang -### --target=aarch64-none-elf -march=armv8a+predres     %s 2>&1 | FileCheck %s2// RUN: %clang -### --target=aarch64-none-elf -mcpu=cortex-a520         %s 2>&1 | FileCheck %s3// CHECK: "-target-feature" "+predres"4// CHECK-NOT: "-target-feature" "-predres"5 6// RUN: %clang -### --target=aarch64-none-elf -mcpu=cortex-a520+nopredres %s 2>&1 | FileCheck %s --check-prefix=NOPR7// NOPR: "-target-feature" "-predres"8// NOPR-NOT: "-target-feature" "+predres"9 10// RUN: %clang -### --target=aarch64-none-elf                           %s 2>&1 | FileCheck %s --check-prefix=ABSENT11// ABSENT-NOT: "-target-feature" "+predres"12// ABSENT-NOT: "-target-feature" "-predres"13