summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-02-04 06:47:24 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-02-04 06:47:24 +0000
commit1f2fda97b191e480c133989bd31ef87ab31dcba5 (patch)
tree343a448077194883751ddfeda392f12452bcc90c /test
parente7b97471f8acf44a0dec3c4dade96b64881175f6 (diff)
downloadllvm-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.ll5
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
}