Allow all types of callee's to be tail called. But avoid automatic tailcall if the...
authorEvan Cheng <evan.cheng@apple.com>
Wed, 3 Feb 2010 03:28:02 +0000 (03:28 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 3 Feb 2010 03:28:02 +0000 (03:28 +0000)
commit86809ccdaddf48a87ed772bc01464812caaf4baf
tree177fec988615dffd14a25829ec2c6ded73a6a8fe
parent1611ebbbff4c2ca5872179b94d982903c6f7bf27
Allow all types of callee's to be tail called. But avoid automatic tailcall if the callee is a result of bitcast to avoid losing necessary zext / sext etc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95195 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/tailcall2.ll
test/CodeGen/X86/tailcallfp2.ll