blob: a79ac6cbcda851bd08fe5c2dbef27e1d65fe692f (
plain)
1
2
3
4
5
6
7
8
9
|
// RUN: %clang -target aarch64-none-gnu -ffixed-x18 -### %s 2> %t
// RUN: FileCheck --check-prefix=CHECK-FIXED-X18 < %t %s
// RUN: %clang -target aarch64-none-gnu -### %s 2> %t
// RUN: FileCheck --check-prefix=CHECK-NO-FIXED-X18 < %t %s
// RUN: %clang -target -arm64-apple-ios -### %s 2> %t
// RUN: FileCheck --check-prefix=CHECK-FIXED-X18 < %t %s
// CHECK-FIXED-X18: "-target-feature" "+reserve-x18"
// CHECK-NO-FIXED-X18-NOT: "-target-feature" "+reserve-x18"
|