commit | 54bf84c1b8dcf48083ec4d403d79e57f94346372 | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Fri Jan 29 23:05:56 2010 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Fri Jan 29 23:05:56 2010 +0000 |
tree | 8f4ef2e2f4437f3976a0c85b9fd9d4a944f6d489 | |
parent | a2440259c7bc10102f92e318329d1d101107862d [diff] |
PPC is not ready for sibcall optimization. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94853 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp index 5219cb7..2a4fb02 100644 --- a/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/lib/Target/PowerPC/PPCISelLowering.cpp
@@ -2200,6 +2200,9 @@ bool isVarArg, const SmallVectorImpl<ISD::InputArg> &Ins, SelectionDAG& DAG) const { + if (!PerformTailCallOpt) + return false; + // Variable argument functions are not supported. if (isVarArg) return false;