PPC is not ready for sibcall optimization.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94853 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2010-01-29 23:05:56 +00:00
parent fb2ea6130d
commit 6c2e8a9217

View File

@ -2200,6 +2200,9 @@ PPCTargetLowering::IsEligibleForTailCallOptimization(SDValue Callee,
bool isVarArg,
const SmallVectorImpl<ISD::InputArg> &Ins,
SelectionDAG& DAG) const {
if (!PerformTailCallOpt)
return false;
// Variable argument functions are not supported.
if (isVarArg)
return false;