aboutsummaryrefslogtreecommitdiff
path: root/test/Driver/aarch64-predres.c
blob: 810ba62b54acb87395877152a62b98a7d934a92b (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang -### -target aarch64-none-none-eabi -march=armv8a+predres     %s 2>&1 | FileCheck %s
// CHECK: "-target-feature" "+predres"
// CHECK-NOT: "-target-feature" "-predres"

// RUN: %clang -### -target aarch64-none-none-eabi -march=armv8.5a+nopredres %s 2>&1 | FileCheck %s --check-prefix=NOPR
// NOPR: "-target-feature" "-predres"
// NOPR-NOT: "-target-feature" "+predres"

// RUN: %clang -### -target aarch64-none-none-eabi                           %s 2>&1 | FileCheck %s --check-prefix=ABSENT
// ABSENT-NOT: "-target-feature" "+predres"
// ABSENT-NOT: "-target-feature" "-predres"