aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-03-11 18:49:14 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-03-11 18:49:14 +0000
commit55282267e144a44232aa4731280d8871ba977bf2 (patch)
tree44c18fab847d2119812c5e1c922102a4acf636e2 /test
parentc6bc9a69d42bfd6ec48f9f6d3c7817e82818007f (diff)
downloadexternal_llvm-55282267e144a44232aa4731280d8871ba977bf2.zip
external_llvm-55282267e144a44232aa4731280d8871ba977bf2.tar.gz
external_llvm-55282267e144a44232aa4731280d8871ba977bf2.tar.bz2
Bad bad bug. x86 force indirect tail call address into eax when it's meant to force it into a call preserved register instead. Change it to ecx for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98270 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/X86/tailcallfp2.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/tailcallfp2.ll b/test/CodeGen/X86/tailcallfp2.ll
index 3841f51..8bfae1b 100644
--- a/test/CodeGen/X86/tailcallfp2.ll
+++ b/test/CodeGen/X86/tailcallfp2.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -tailcallopt | grep {jmp} | grep {\\*%eax}
+; RUN: llc < %s -march=x86 -tailcallopt | grep {jmp} | grep {\\*%ecx}
declare i32 @putchar(i32)