1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

RegisterCoalescer: Drive-by typo + whitespace fix

llvm-svn: 226350
This commit is contained in:
Matthias Braun 2015-01-17 00:33:06 +00:00
parent 2fdc54a320
commit 2d7fcc6f07

View File

@ -1467,7 +1467,7 @@ bool RegisterCoalescer::joinReservedPhysReg(CoalescerPair &CP) {
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);
@ -1495,7 +1495,7 @@ bool RegisterCoalescer::joinReservedPhysReg(CoalescerPair &CP) {
LR.createDeadDef(DestRegIdx, LIS->getVNInfoAllocator());
}
}
LIS->RemoveMachineInstrFromMaps(CopyMI);
CopyMI->eraseFromParent();