[llvm] r226350 - RegisterCoalescer: Drive-by typo + whitespace fix

Matthias Braun matze at braunis.de
Fri Jan 16 16:33:07 PST 2015


Author: matze
Date: Fri Jan 16 18:33:06 2015
New Revision: 226350

URL: http://llvm.org/viewvc/llvm-project?rev=226350&view=rev
Log:
RegisterCoalescer: Drive-by typo + whitespace fix

Modified:
    llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp

Modified: llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp?rev=226350&r1=226349&r2=226350&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp (original)
+++ llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp Fri Jan 16 18:33:06 2015
@@ -1467,7 +1467,7 @@ bool RegisterCoalescer::joinReservedPhys
     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::joinReservedPhys
       LR.createDeadDef(DestRegIdx, LIS->getVNInfoAllocator());
     }
   }
-  
+
   LIS->RemoveMachineInstrFromMaps(CopyMI);
   CopyMI->eraseFromParent();
 





More information about the llvm-commits mailing list