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 | e50f5d1fb142bcc669858085c4e12c53031a8fb1 (patch) | |
tree | fb948534dde7805cbf85b20926ddc7a3e108df6b | |
parent | 63b113f68c39a4c8e9d8fe36cafbbedcd5a1fd30 (diff) | |
download | bcm5719-llvm-e50f5d1fb142bcc669858085c4e12c53031a8fb1.tar.gz bcm5719-llvm-e50f5d1fb142bcc669858085c4e12c53031a8fb1.zip |
Oh yeah, this is needed too
llvm-svn: 30407
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index 7c7dc437b9e..5e6791f33c9 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/llvm/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; } } |