2014-01-24 23:15:27 +08:00
|
|
|
// Test the -mgeneral-regs-only option
|
2014-01-23 23:48:30 +08:00
|
|
|
|
2014-01-24 23:15:27 +08:00
|
|
|
// RUN: %clang -target aarch64-linux-eabi -mgeneral-regs-only %s -### 2>&1 \
|
2014-01-23 23:48:30 +08:00
|
|
|
// RUN: | FileCheck --check-prefix=CHECK-NO-FP %s
|
2014-04-16 23:33:56 +08:00
|
|
|
// RUN: %clang -target arm64-linux-eabi -mgeneral-regs-only %s -### 2>&1 \
|
|
|
|
// RUN: | FileCheck --check-prefix=CHECK-NO-FP %s
|
2014-01-23 23:48:30 +08:00
|
|
|
// CHECK-NO-FP: "-target-feature" "-fp-armv8"
|
|
|
|
// CHECK-NO-FP: "-target-feature" "-crypto"
|
|
|
|
// CHECK-NO-FP: "-target-feature" "-neon"
|