Do not force indirect tailcall through fixed registers: eax, r11. Add support to...
authorEvan Cheng <evan.cheng@apple.com>
Sun, 14 Mar 2010 03:48:46 +0000 (03:48 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sun, 14 Mar 2010 03:48:46 +0000 (03:48 +0000)
commitf48ef0365545b6160836e3f4b4a210d1e21f1881
treed4abbce3e4424bcadf287258859931d64cc7a8f4
parentd3da36286f9ffe6951abec67b82837e432c858cf
Do not force indirect tailcall through fixed registers: eax, r11. Add support to allow loads to be folded to tail call instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98465 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelDAGToDAG.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86Instr64bit.td
lib/Target/X86/X86InstrInfo.cpp
lib/Target/X86/X86InstrInfo.td
lib/Target/X86/X86RegisterInfo.cpp
lib/Target/X86/X86RegisterInfo.td
test/CodeGen/X86/tailcall-largecode.ll
test/CodeGen/X86/tailcallfp2.ll