diff options
author | Chris Lattner <sabre@nondot.org> | 2006-09-16 05:08:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-09-16 05:08:34 +0000 |
commit | 8829dc88a8637fe588e299d96de394afc3ecc528 (patch) | |
tree | 92fee0ef53f059566b4281f1f6153f4937c3d836 /lib/CodeGen | |
parent | 88640b5ecd851465397fb6c063ebc0e13b9b24d2 (diff) |
Oh yeah, this is needed too
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30407 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index 7c7dc437b9..5e6791f33c 100644 --- 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; } } |