diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2010-01-19 19:57:07 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2010-01-19 19:57:07 +0000 |
commit | 8c5ee7147b84f6171b51d4afd5466c59d8c84fef (patch) | |
tree | edc13323abd6c6d01bc1c2c1c38b6c20cf94c35b /lib | |
parent | aaec205b87637cd0d59d4f11630db603686eb73d (diff) | |
download | external_llvm-8c5ee7147b84f6171b51d4afd5466c59d8c84fef.zip external_llvm-8c5ee7147b84f6171b51d4afd5466c59d8c84fef.tar.gz external_llvm-8c5ee7147b84f6171b51d4afd5466c59d8c84fef.tar.bz2 |
Fix a bug introduced on r92564 where the name "Node" was already
in use by Mips.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93897 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/Mips/MipsISelDAGToDAG.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Mips/MipsISelDAGToDAG.cpp b/lib/Target/Mips/MipsISelDAGToDAG.cpp index f2005d0..e3a45d2 100644 --- a/lib/Target/Mips/MipsISelDAGToDAG.cpp +++ b/lib/Target/Mips/MipsISelDAGToDAG.cpp @@ -396,9 +396,9 @@ SDNode* MipsDAGToDAGISel::Select(SDNode *Node) { 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); |