aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/call-tc.ll
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2011-10-07 17:17:49 +0000
committerBob Wilson <bob.wilson@apple.com>2011-10-07 17:17:49 +0000
commit6d2f9cec715c50bca44816d9bdea97f8b63bf2a0 (patch)
treeca892fc76f4fa7e32753e4f85628c58af79b57f8 /test/CodeGen/ARM/call-tc.ll
parent2fef4573df6fd645f4401302d21c16e72418e3a8 (diff)
downloadexternal_llvm-6d2f9cec715c50bca44816d9bdea97f8b63bf2a0.zip
external_llvm-6d2f9cec715c50bca44816d9bdea97f8b63bf2a0.tar.gz
external_llvm-6d2f9cec715c50bca44816d9bdea97f8b63bf2a0.tar.bz2
Reenable tail calls for iOS 5.0 and later.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141370 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/call-tc.ll')
-rw-r--r--test/CodeGen/ARM/call-tc.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/call-tc.ll b/test/CodeGen/ARM/call-tc.ll
index e01750b..f78d998 100644
--- a/test/CodeGen/ARM/call-tc.ll
+++ b/test/CodeGen/ARM/call-tc.ll
@@ -1,6 +1,10 @@
; RUN: llc < %s -mtriple=armv6-apple-darwin -mattr=+vfp2 -arm-tail-calls | FileCheck %s -check-prefix=CHECKV6
; RUN: llc < %s -mtriple=armv6-linux-gnueabi -relocation-model=pic -mattr=+vfp2 -arm-tail-calls | FileCheck %s -check-prefix=CHECKELF
; RUN: llc < %s -mtriple=thumbv7-apple-darwin -arm-tail-calls | FileCheck %s -check-prefix=CHECKT2D
+; RUN: llc < %s -mtriple=thumbv7-apple-ios5.0 | FileCheck %s -check-prefix=CHECKT2D
+
+; Enable tailcall optimization for iOS 5.0
+; rdar://9120031
@t = weak global i32 ()* null ; <i32 ()**> [#uses=1]