[llvm-commits] [llvm] r93897 - /llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp
Bruno Cardoso Lopes
bruno.cardoso at gmail.com
Tue Jan 19 11:57:07 PST 2010
Author: bruno
Date: Tue Jan 19 13:57:07 2010
New Revision: 93897
URL: http://llvm.org/viewvc/llvm-project?rev=93897&view=rev
Log:
Fix a bug introduced on r92564 where the name "Node" was already
in use by Mips.
Modified:
llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp?rev=93897&r1=93896&r2=93897&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp Tue Jan 19 13:57:07 2010
@@ -396,9 +396,9 @@
else
Op = (Opcode == ISD::UDIVREM ? Mips::DIVu : Mips::DIV);
- SDNode *Node = CurDAG->getMachineNode(Op, dl, MVT::Flag, Op1, Op2);
+ SDNode *MulDiv = CurDAG->getMachineNode(Op, dl, MVT::Flag, Op1, Op2);
- SDValue InFlag = SDValue(Node, 0);
+ SDValue InFlag = SDValue(MulDiv, 0);
SDNode *Lo = CurDAG->getMachineNode(Mips::MFLO, dl, MVT::i32,
MVT::Flag, InFlag);
InFlag = SDValue(Lo,1);
More information about the llvm-commits
mailing list