llvm-6502/test/CodeGen
Evan Cheng bf010eb911 Fix a long standing tail call optimization bug. When a libcall is emitted
legalizer always use the DAG entry node. This is wrong when the libcall is
emitted as a tail call since it effectively folds the return node. If
the return node's input chain is not the entry (i.e. call, load, or store)
use that as the tail call input chain.

PR12419
rdar://9770785
rdar://11195178


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154370 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-10 01:51:00 +00:00
..
ARM Fix a long standing tail call optimization bug. When a libcall is emitted 2012-04-10 01:51:00 +00:00
CellSPU
CPP
Generic Don't try to zExt just to check if an integer constant is zero, it might 2012-04-10 00:16:22 +00:00
Hexagon
MBlaze
Mips Have TargetLowering::getPICJumpTableRelocBase return a node that points to the 2012-04-09 20:32:12 +00:00
MSP430
PowerPC
PTX
SPARC
Thumb
Thumb2
X86 Test case for PR12495. 2012-04-09 23:58:59 +00:00
XCore