If call result is in ST0 and it is not being passed to the caller's
authorEvan Cheng <evan.cheng@apple.com>
Sat, 20 Mar 2010 02:58:15 +0000 (02:58 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 20 Mar 2010 02:58:15 +0000 (02:58 +0000)
commitf5b9d6cc82d46dbac7fc469e316a7f1cadd8277f
treebabb763216f377e436e82f7f0e9c0603d88b8eb0
parent873decbb37aa31653d9907455386f3c695ee150b
If call result is in ST0 and it is not being passed to the caller's
caller, then it is not safe to optimize the call into a sibcall since
the call result has to be popped off the x87 stack.

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