diff options
author | Amara Emerson <amara.emerson@arm.com> | 2014-01-23 15:48:30 +0000 |
---|---|---|
committer | Amara Emerson <amara.emerson@arm.com> | 2014-01-23 15:48:30 +0000 |
commit | fecf5dcc4e380b0a006d65baf108a6f8a8b3aa1b (patch) | |
tree | 424f5937cc462021e3739e074a7ecd336d814237 /test/Driver/aarch64-mgeneral_regs_only.c | |
parent | 6cccc69eb2d791329ac0de26a7cdd3f27ee2ce8f (diff) | |
download | clang-fecf5dcc4e380b0a006d65baf108a6f8a8b3aa1b.tar.gz |
[AArch64] Add -mgeneral_regs_only option.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199904 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/aarch64-mgeneral_regs_only.c')
-rw-r--r-- | test/Driver/aarch64-mgeneral_regs_only.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Driver/aarch64-mgeneral_regs_only.c b/test/Driver/aarch64-mgeneral_regs_only.c new file mode 100644 index 0000000000..026f98c331 --- /dev/null +++ b/test/Driver/aarch64-mgeneral_regs_only.c @@ -0,0 +1,7 @@ +// Test the -mgeneral_regs_only option + +// RUN: %clang -target aarch64-linux-eabi -mgeneral_regs_only %s -### 2>&1 \ +// RUN: | FileCheck --check-prefix=CHECK-NO-FP %s +// CHECK-NO-FP: "-target-feature" "-fp-armv8" +// CHECK-NO-FP: "-target-feature" "-crypto" +// CHECK-NO-FP: "-target-feature" "-neon" |