forked from OSchip/llvm-project
copyImplicitOps is redundant here - the loop above already copies these ops.
llvm-svn: 148725
This commit is contained in:
parent
20948fab69
commit
2f6377cafe
|
@ -850,7 +850,6 @@ bool RegisterCoalescer::ReMaterializeTrivialDef(LiveInterval &SrcInt,
|
||||||
RemoveCopyFlag(MO.getReg(), CopyMI);
|
RemoveCopyFlag(MO.getReg(), CopyMI);
|
||||||
}
|
}
|
||||||
|
|
||||||
NewMI->copyImplicitOps(CopyMI);
|
|
||||||
LIS->ReplaceMachineInstrInMaps(CopyMI, NewMI);
|
LIS->ReplaceMachineInstrInMaps(CopyMI, NewMI);
|
||||||
CopyMI->eraseFromParent();
|
CopyMI->eraseFromParent();
|
||||||
ReMatCopies.insert(CopyMI);
|
ReMatCopies.insert(CopyMI);
|
||||||
|
|
Loading…
Reference in New Issue