]> granicus.if.org Git - llvm/commitdiff
Fix typo
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 11 Sep 2017 15:23:22 +0000 (15:23 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 11 Sep 2017 15:23:22 +0000 (15:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312919 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/RegisterCoalescer.cpp

index 4cc934540cb0cb25568447a75eb35871dd119b32..bfa6758de618c621b8a05f2c3d393c0119cb0278 100644 (file)
@@ -1832,7 +1832,7 @@ bool RegisterCoalescer::joinReservedPhysReg(CoalescerPair &CP) {
 
     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);