diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-03-11 18:49:14 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-03-11 18:49:14 +0000 |
commit | 55282267e144a44232aa4731280d8871ba977bf2 (patch) | |
tree | 44c18fab847d2119812c5e1c922102a4acf636e2 /test | |
parent | c6bc9a69d42bfd6ec48f9f6d3c7817e82818007f (diff) | |
download | external_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.ll | 2 |
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) |