forked from OSchip/llvm-project
parent
8cd7c92613
commit
47062ce503
|
@ -226,7 +226,7 @@ static void EmitLiveInCopy(MachineBasicBlock *MBB,
|
||||||
assert(Emitted && "Unable to issue a live-in copy instruction!\n");
|
assert(Emitted && "Unable to issue a live-in copy instruction!\n");
|
||||||
(void) Emitted;
|
(void) Emitted;
|
||||||
|
|
||||||
CopyRegMap.insert(std::make_pair(prior(Pos), VirtReg));
|
CopyRegMap.insert(std::make_pair(prior(Pos), VirtReg));
|
||||||
if (Coalesced) {
|
if (Coalesced) {
|
||||||
if (&*InsertPos == UseMI) ++InsertPos;
|
if (&*InsertPos == UseMI) ++InsertPos;
|
||||||
MBB->erase(UseMI);
|
MBB->erase(UseMI);
|
||||||
|
|
Loading…
Reference in New Issue