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:
f44fd88
)
Fix another bug legalizing calls!
author
Chris Lattner
<sabre@nondot.org>
Fri, 7 Jan 2005 21:35:32 +0000
(21:35 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 7 Jan 2005 21:35:32 +0000
(21:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19350
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index f31a2b4cd410a241e7c2f96ac697bc8ac90bc99a..eaf15a32d47fa56b15445b74b8d83153b4296023 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@
-291,7
+291,7
@@
SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
case ISD::CALL:
Tmp1 = LegalizeOp(Node->getOperand(0)); // Legalize the chain.
Tmp2 = LegalizeOp(Node->getOperand(1)); // Legalize the callee.
- if (Tmp
2
!= Node->getOperand(0) || Tmp2 != Node->getOperand(1)) {
+ if (Tmp
1
!= Node->getOperand(0) || Tmp2 != Node->getOperand(1)) {
std::vector<MVT::ValueType> RetTyVTs;
RetTyVTs.reserve(Node->getNumValues());
for (unsigned i = 0, e = Node->getNumValues(); i != e; ++i)