mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 18:31:04 +00:00
Remove pseudo-MI in custom inserter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93467 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cf0b76649b
commit
5fcf52ccf3
@ -1045,6 +1045,7 @@ MSP430TargetLowering::EmitShiftInstr(MachineInstr *MI,
|
|||||||
.addReg(SrcReg).addMBB(BB)
|
.addReg(SrcReg).addMBB(BB)
|
||||||
.addReg(ShiftReg2).addMBB(LoopBB);
|
.addReg(ShiftReg2).addMBB(LoopBB);
|
||||||
|
|
||||||
|
F->DeleteMachineInstr(MI); // The pseudo instruction is gone now.
|
||||||
return RemBB;
|
return RemBB;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user