From fc6ef3a27083ea84a6ad1c8cc769bde870d5ee63 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Sat, 17 Jan 2015 00:33:06 +0000 Subject: [PATCH] RegisterCoalescer: Drive-by typo + whitespace fix llvm-svn: 226350 --- llvm/lib/CodeGen/RegisterCoalescer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/lib/CodeGen/RegisterCoalescer.cpp b/llvm/lib/CodeGen/RegisterCoalescer.cpp index 5b7d22b..8e13779 100644 --- a/llvm/lib/CodeGen/RegisterCoalescer.cpp +++ b/llvm/lib/CodeGen/RegisterCoalescer.cpp @@ -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(); -- 2.7.4