Fix an oops in x86 sibcall optimization. If the ByVal callee argument is itself passe...
authorEvan Cheng <evan.cheng@apple.com>
Fri, 5 Mar 2010 08:38:04 +0000 (08:38 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 5 Mar 2010 08:38:04 +0000 (08:38 +0000)
commit4cae133780aa35b0f40f382286b2c0eb57369fee
tree580aa1cea2f15a1943d3175cd80d122048cfe8d5
parent2d4e4af45e074b6d712ac6fc6ab3e63456e1e24e
Fix an oops in x86 sibcall optimization. If the ByVal callee argument is itself passed as a pointer, then it's obviously not safe to do a tail call.

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