mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-01 01:14:12 +00:00
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
This commit is contained in:
parent
aaec205b87
commit
8c5ee7147b
@ -396,9 +396,9 @@ SDNode* MipsDAGToDAGISel::Select(SDNode *Node) {
|
|||||||
else
|
else
|
||||||
Op = (Opcode == ISD::UDIVREM ? Mips::DIVu : Mips::DIV);
|
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,
|
SDNode *Lo = CurDAG->getMachineNode(Mips::MFLO, dl, MVT::i32,
|
||||||
MVT::Flag, InFlag);
|
MVT::Flag, InFlag);
|
||||||
InFlag = SDValue(Lo,1);
|
InFlag = SDValue(Lo,1);
|
||||||
|
Loading…
Reference in New Issue
Block a user