projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5934de7
)
don't reserve space for tailcall arg areas. It explicitly managed.
author
Chris Lattner
<sabre@nondot.org>
Sun, 15 May 2005 06:07:10 +0000
(06:07 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 15 May 2005 06:07:10 +0000
(06:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22050
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelPattern.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelPattern.cpp
b/lib/Target/X86/X86ISelPattern.cpp
index 28534a283834bb2417b161267546a09c9b47f22b..1d30608d34c8b4d0e2fe0ddc3708da43f971d23c 100644
(file)
--- a/
lib/Target/X86/X86ISelPattern.cpp
+++ b/
lib/Target/X86/X86ISelPattern.cpp
@@
-3764,8
+3764,10
@@
static SDOperand GetAdjustedArgumentStores(SDOperand Chain, int Offset,
MVT::ValueType StoreVT;
switch (Chain.getOpcode()) {
case ISD::CALLSEQ_START:
- // If we found the start of the call sequence, we're done.
- return Chain;
+ // If we found the start of the call sequence, we're done. We actually
+ // strip off the CALLSEQ_START node, to avoid generating the
+ // ADJCALLSTACKDOWN marker for the tail call.
+ return Chain.getOperand(0);
case ISD::TokenFactor: {
std::vector<SDOperand> Ops;
Ops.reserve(Chain.getNumOperands());