diff options
author | Bob Wilson <bob.wilson@apple.com> | 2011-10-07 17:17:49 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2011-10-07 17:17:49 +0000 |
commit | 8decdc472f308b13d7fb7fd50c3919db086c0417 (patch) | |
tree | bdf06c77c2d38698d03fac74691f7f826c3938d5 /llvm/test/CodeGen/ARM/call-tc.ll | |
parent | 942bbcea2500a3d135af46aa0835f11bee5247fd (diff) | |
download | bcm5719-llvm-8decdc472f308b13d7fb7fd50c3919db086c0417.tar.gz bcm5719-llvm-8decdc472f308b13d7fb7fd50c3919db086c0417.zip |
Reenable tail calls for iOS 5.0 and later.
llvm-svn: 141370
Diffstat (limited to 'llvm/test/CodeGen/ARM/call-tc.ll')
-rw-r--r-- | llvm/test/CodeGen/ARM/call-tc.ll | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/call-tc.ll b/llvm/test/CodeGen/ARM/call-tc.ll index e01750be81d..f78d9980bef 100644 --- a/llvm/test/CodeGen/ARM/call-tc.ll +++ b/llvm/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] |