It's too risky to eliminate sext / zext of call results for tail call optimization...
authorEvan Cheng <evan.cheng@apple.com>
Thu, 4 Feb 2010 02:45:02 +0000 (02:45 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 4 Feb 2010 02:45:02 +0000 (02:45 +0000)
commit446bc10085482aba8cde79d22e10c1fe90ac54b9
tree6a3c585b78e0eecd0e7db955f825b2beb160c532
parent32efba698df6aa35335eeb44d89288352d04746d
It's too risky to eliminate sext / zext of call results for tail call optimization even if the caller / callee attributes completely match. The callee may have been bitcast'ed (or otherwise lied about what it's doing).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95282 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp