aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2009-11-04-SubregCoalescingBug.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-01-30 01:22:00 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-01-30 01:22:00 +0000
commita6bff982c10f6f19c0a9ba20a6300201449c5f39 (patch)
treef6687feffcb15d243a61680f3e21bd043e8a6d5c /test/CodeGen/X86/2009-11-04-SubregCoalescingBug.ll
parent1d885c0ede4b384559a82ebb437341d8b5cb11e2 (diff)
downloadexternal_llvm-a6bff982c10f6f19c0a9ba20a6300201449c5f39.zip
external_llvm-a6bff982c10f6f19c0a9ba20a6300201449c5f39.tar.gz
external_llvm-a6bff982c10f6f19c0a9ba20a6300201449c5f39.tar.bz2
Allow more tailcall optimization: calls with inputs that are all passed in registers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94873 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2009-11-04-SubregCoalescingBug.ll')
-rw-r--r--test/CodeGen/X86/2009-11-04-SubregCoalescingBug.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2009-11-04-SubregCoalescingBug.ll b/test/CodeGen/X86/2009-11-04-SubregCoalescingBug.ll
index 628b899..b08dd91 100644
--- a/test/CodeGen/X86/2009-11-04-SubregCoalescingBug.ll
+++ b/test/CodeGen/X86/2009-11-04-SubregCoalescingBug.ll
@@ -5,7 +5,7 @@ define void @bar(i32 %b, i32 %a) nounwind optsize ssp {
entry:
; CHECK: leal 15(%rsi), %edi
; CHECK-NOT: movl
-; CHECK: callq _foo
+; CHECK: jmp _foo
%0 = add i32 %a, 15 ; <i32> [#uses=1]
%1 = zext i32 %0 to i64 ; <i64> [#uses=1]
tail call void @foo(i64 %1) nounwind