forked from OSchip/llvm-project
parent
f365f5f0c1
commit
87b1dddb1c
|
@ -232,7 +232,7 @@ void ScheduleDAG::EmitNode(SDNode *Node,
|
|||
case ISD::CopyToReg: {
|
||||
unsigned InReg = getVR(Node->getOperand(2), VRBaseMap);
|
||||
unsigned DestReg = cast<RegisterSDNode>(Node->getOperand(1))->getReg();
|
||||
if (InReg != DestReg) // Coallesced away the copy?
|
||||
if (InReg != DestReg) // Coalesced away the copy?
|
||||
MRI->copyRegToReg(*BB, BB->end(), DestReg, InReg,
|
||||
RegMap->getRegClass(InReg));
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue