const SlotIndex DestRegIdx = LIS->getInstructionIndex(DestMI).getRegSlot();
// We checked above that there are no interfering defs of the physical
- // register. However, for this case, where we indent to move up the def of
+ // register. However, for this case, where we intent to move up the def of
// the physical register, we also need to check for interfering uses.
SlotIndexes *Indexes = LIS->getSlotIndexes();
for (SlotIndex SI = Indexes->getNextNonNullIndex(DestRegIdx);
LR.createDeadDef(DestRegIdx, LIS->getVNInfoAllocator());
}
}
-
+
LIS->RemoveMachineInstrFromMaps(CopyMI);
CopyMI->eraseFromParent();