1 // RUN: %clang -### --target=aarch64-none-elf -march=armv8a+predres %s 2>&1 | FileCheck %s
2 // RUN: %clang -### --target=aarch64-none-elf -mcpu=cortex-a520 %s 2>&1 | FileCheck %s
3 // CHECK: "-target-feature" "+predres"
4 // CHECK-NOT: "-target-feature" "-predres"
6 // RUN: %clang -### --target=aarch64-none-elf -mcpu=cortex-a520+nopredres %s 2>&1 | FileCheck %s --check-prefix=NOPR
7 // NOPR: "-target-feature" "-predres"
8 // NOPR-NOT: "-target-feature" "+predres"
10 // RUN: %clang -### --target=aarch64-none-elf %s 2>&1 | FileCheck %s --check-prefix=ABSENT
11 // ABSENT-NOT: "-target-feature" "+predres"
12 // ABSENT-NOT: "-target-feature" "-predres"