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:
88640b5
)
Oh yeah, this is needed too
author
Chris Lattner
<sabre@nondot.org>
Sat, 16 Sep 2006 05:08:34 +0000
(
05:08
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 16 Sep 2006 05:08:34 +0000
(
05:08
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30407
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 7c7dc437b9eda2a4721c4f9b414917957e910baf..5e6791f33c9aee64a2162b82f16c8703f81cc35b 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@
-4695,9
+4695,9
@@
void SelectionDAGLegalize::ExpandOp(SDOperand Op, SDOperand &Lo, SDOperand &Hi){
case ISD::MUL: {
// If the target wants to custom expand this, let them.
if (TLI.getOperationAction(ISD::MUL, VT) == TargetLowering::Custom) {
-
Op
= TLI.LowerOperation(Op, DAG);
- if (
Op
.Val) {
- ExpandOp(
Op
, Lo, Hi);
+
SDOperand New
= TLI.LowerOperation(Op, DAG);
+ if (
New
.Val) {
+ ExpandOp(
New
, Lo, Hi);
break;
}
}