Fix http://llvm.org/PR5729: x86-64 tail calls were putting their targets into
authorJeffrey Yasskin <jyasskin@google.com>
Sat, 9 Jan 2010 18:56:43 +0000 (18:56 +0000)
committerJeffrey Yasskin <jyasskin@google.com>
Sat, 9 Jan 2010 18:56:43 +0000 (18:56 +0000)
commita77169dbeb250d1992938650084dc799472fb956
tree25efda51747de3b7f9efcd6e463d8be433443bca
parent6d7d735fea23da48db7485e8998a361ea4d2d4b6
Fix llvm.org/PR5729: x86-64 tail calls were putting their targets into
R11, and then asserting that the target was in R9.  Since R9 isn't reserved for
the target anymore, and is used as an argument, this patch changes the
assertion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93065 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/tailcall-largecode.ll [new file with mode: 0644]