Remove pseudo-MI in custom inserter.

llvm-svn: 93467
This commit is contained in:
Anton Korobeynikov 2010-01-14 22:09:11 +00:00
parent b297cdd937
commit abf4ef0ee1
1 changed files with 1 additions and 0 deletions

View File

@ -1045,6 +1045,7 @@ MSP430TargetLowering::EmitShiftInstr(MachineInstr *MI,
.addReg(SrcReg).addMBB(BB)
.addReg(ShiftReg2).addMBB(LoopBB);
F->DeleteMachineInstr(MI); // The pseudo instruction is gone now.
return RemBB;
}