diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-02-04 06:47:24 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-02-04 06:47:24 +0000 |
commit | 1f2fda97b191e480c133989bd31ef87ab31dcba5 (patch) | |
tree | 343a448077194883751ddfeda392f12452bcc90c /test | |
parent | e7b97471f8acf44a0dec3c4dade96b64881175f6 (diff) | |
download | llvm-1f2fda97b191e480c133989bd31ef87ab31dcba5.tar.gz llvm-1f2fda97b191e480c133989bd31ef87ab31dcba5.tar.bz2 llvm-1f2fda97b191e480c133989bd31ef87ab31dcba5.tar.xz |
Re-enable x86 tail call optimization.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95295 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/tailcall2.ll | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/CodeGen/X86/tailcall2.ll b/test/CodeGen/X86/tailcall2.ll index b35fc4b5a5..46fb7c3ef1 100644 --- a/test/CodeGen/X86/tailcall2.ll +++ b/test/CodeGen/X86/tailcall2.ll @@ -1,6 +1,5 @@ ; RUN: llc < %s -march=x86 -asm-verbose=false | FileCheck %s -check-prefix=32 ; RUN: llc < %s -march=x86-64 -asm-verbose=false | FileCheck %s -check-prefix=64 -; XFAIL: * define void @t1(i32 %x) nounwind ssp { entry: @@ -107,10 +106,10 @@ declare i32 @bar2(i32, i32, i32) define signext i16 @t8() nounwind ssp { entry: ; 32: t8: -; 32: jmp {{_?}}bar3 +; 32: call {{_?}}bar3 ; 64: t8: -; 64: jmp {{_?}}bar3 +; 64: callq {{_?}}bar3 %0 = tail call signext i16 @bar3() nounwind ; <i16> [#uses=1] ret i16 %0 } |