diff options
author | Eric Christopher <echristo@gmail.com> | 2014-12-18 02:20:58 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-12-18 02:20:58 +0000 |
commit | c559ba72517d912ed4cd45ee6097b240c3234086 (patch) | |
tree | c2ff3175261754c4333426311cc28ee6668eea12 /test/CodeGen/ARM/tail-call.ll | |
parent | 360cbd4839bc54cd3b73a4607f4a39afc37815b3 (diff) |
Add a new string member to the TargetOptions struct for the name
of the abi we should be using. For targets that don't use the
option there's no change, otherwise this allows external users
to set the ABI via string and avoid some of the -backend-option
pain in clang.
Use this option to move the ABI for the ARM port from the
Subtarget to the TargetMachine and update the testcases
accordingly since it's no longer valid to set via -mattr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224492 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/tail-call.ll')
-rw-r--r-- | test/CodeGen/ARM/tail-call.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/ARM/tail-call.ll b/test/CodeGen/ARM/tail-call.ll index 8705c4245de..ca19b057773 100644 --- a/test/CodeGen/ARM/tail-call.ll +++ b/test/CodeGen/ARM/tail-call.ll @@ -1,6 +1,6 @@ -; RUN: llc -mtriple armv7 -mattr=apcs -O0 -o - < %s \ +; RUN: llc -mtriple armv7 -target-abi apcs -O0 -o - < %s \ ; RUN: | FileCheck %s -check-prefix CHECK-TAIL -; RUN: llc -mtriple armv7 -mattr=apcs -O0 -disable-tail-calls -o - < %s \ +; RUN: llc -mtriple armv7 -target-abi apcs -O0 -disable-tail-calls -o - < %s \ ; RUN: | FileCheck %s -check-prefix CHECK-NO-TAIL declare i32 @callee(i32 %i) |