summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/tail-call.ll
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-12-18 02:08:45 +0000
committerEric Christopher <echristo@gmail.com>2014-12-18 02:08:45 +0000
commit1971c3508a3e781104803d750496339460dfac1e (patch)
tree393bb5e7e0cd55aa403b56ea88075c06b57a816f /llvm/test/CodeGen/ARM/tail-call.ll
parent7a6f5e47cf3144ea1fdf4105279f0a2bc23aa59f (diff)
downloadbcm5719-llvm-1971c3508a3e781104803d750496339460dfac1e.tar.gz
bcm5719-llvm-1971c3508a3e781104803d750496339460dfac1e.zip
Model ARM backend ABI selection after the front end code doing the
same. This will change the "bare metal" ABI from APCS to AAPCS. The only difference between the front and back end code is that the code for Triple::GNU was added for environment. That will migrate to the front end shortly. Tests updated with the ABI they were originally testing in the case of bare metal (e.g. -mtriple armv7) or with a -gnu for arm-linux triples. llvm-svn: 224489
Diffstat (limited to 'llvm/test/CodeGen/ARM/tail-call.ll')
-rw-r--r--llvm/test/CodeGen/ARM/tail-call.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/ARM/tail-call.ll b/llvm/test/CodeGen/ARM/tail-call.ll
index c3e79652c03..8705c4245de 100644
--- a/llvm/test/CodeGen/ARM/tail-call.ll
+++ b/llvm/test/CodeGen/ARM/tail-call.ll
@@ -1,5 +1,6 @@
-; RUN: llc -mtriple armv7 -O0 -o - < %s | FileCheck %s -check-prefix CHECK-TAIL
-; RUN: llc -mtriple armv7 -O0 -disable-tail-calls -o - < %s \
+; RUN: llc -mtriple armv7 -mattr=apcs -O0 -o - < %s \
+; RUN: | FileCheck %s -check-prefix CHECK-TAIL
+; RUN: llc -mtriple armv7 -mattr=apcs -O0 -disable-tail-calls -o - < %s \
; RUN: | FileCheck %s -check-prefix CHECK-NO-TAIL
declare i32 @callee(i32 %i)
OpenPOWER on IntegriCloud