[llvm] r312919 - Fix typo

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 11 08:23:22 PDT 2017


Author: arsenm
Date: Mon Sep 11 08:23:22 2017
New Revision: 312919

URL: http://llvm.org/viewvc/llvm-project?rev=312919&view=rev
Log:
Fix typo

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=312919&r1=312918&r2=312919&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp (original)
+++ llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp Mon Sep 11 08:23:22 2017
@@ -1832,7 +1832,7 @@ bool RegisterCoalescer::joinReservedPhys
 
     if (!MRI->isConstantPhysReg(DstReg)) {
       // We checked above that there are no interfering defs of the physical
-      // register. However, for this case, where we intent to move up the def of
+      // register. However, for this case, where we intend 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);




More information about the llvm-commits mailing list