mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
RegisterCoalescer: Drive-by typo + whitespace fix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226350 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
944d563647
commit
07a087f45c
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user