OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb2ea61
)
PPC is not ready for sibcall optimization.
author
Evan Cheng
<evan.cheng@apple.com>
Fri, 29 Jan 2010 23:05:56 +0000
(23:05 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Fri, 29 Jan 2010 23:05:56 +0000
(23:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94853
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCISelLowering.cpp
b/lib/Target/PowerPC/PPCISelLowering.cpp
index
5219cb7
..
2a4fb02
100644
(file)
--- a/
lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/
lib/Target/PowerPC/PPCISelLowering.cpp
@@
-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;