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:
1b896ca
)
Fix PR988 and CodeGen/Generic/2006-11-06-MemIntrinsicExpand.ll.
author
Chris Lattner
<sabre@nondot.org>
Tue, 7 Nov 2006 04:11:44 +0000
(
04:11
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 7 Nov 2006 04:11:44 +0000
(
04:11
+0000)
The low part goes in the first operand of expandop, not the second one.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31487
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 b1dfc90205ad2359c42a8d9acfc40cd0b5dad506..59f476792a05e50185578982ee305c33d10a3b75 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@
-2039,7
+2039,7
@@
SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
case Expand: {
// Length is too big, just take the lo-part of the length.
SDOperand HiPart;
- ExpandOp(Node->getOperand(3),
HiPart, Tmp4
);
+ ExpandOp(Node->getOperand(3),
Tmp4, HiPart
);
break;
}
case Legal: