[llvm] r314299 - [RegAllocGreedy] Fix spelling error, "inteference" -> "interference", NFC

Mikael Holmen via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 27 04:27:50 PDT 2017


Author: uabelho
Date: Wed Sep 27 04:27:50 2017
New Revision: 314299

URL: http://llvm.org/viewvc/llvm-project?rev=314299&view=rev
Log:
[RegAllocGreedy] Fix spelling error, "inteference" -> "interference", NFC

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

Modified: llvm/trunk/lib/CodeGen/RegAllocGreedy.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/RegAllocGreedy.cpp?rev=314299&r1=314298&r2=314299&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/RegAllocGreedy.cpp (original)
+++ llvm/trunk/lib/CodeGen/RegAllocGreedy.cpp Wed Sep 27 04:27:50 2017
@@ -2085,7 +2085,7 @@ RAGreedy::mayRecolorAllInterferences(uns
       if ((getStage(*Intf) == RS_Done &&
            MRI->getRegClass(Intf->reg) == CurRC) ||
           FixedRegisters.count(Intf->reg)) {
-        DEBUG(dbgs() << "Early abort: the inteference is not recolorable.\n");
+        DEBUG(dbgs() << "Early abort: the interference is not recolorable.\n");
         return false;
       }
       RecoloringCandidates.insert(Intf);
@@ -2173,7 +2173,7 @@ unsigned RAGreedy::tryLastChanceRecolori
     // It is only possible to recolor virtual register interference.
     if (Matrix->checkInterference(VirtReg, PhysReg) >
         LiveRegMatrix::IK_VirtReg) {
-      DEBUG(dbgs() << "Some inteferences are not with virtual registers.\n");
+      DEBUG(dbgs() << "Some interferences are not with virtual registers.\n");
 
       continue;
     }
@@ -2182,7 +2182,7 @@ unsigned RAGreedy::tryLastChanceRecolori
     // the interferences.
     if (!mayRecolorAllInterferences(PhysReg, VirtReg, RecoloringCandidates,
                                     FixedRegisters)) {
-      DEBUG(dbgs() << "Some inteferences cannot be recolored.\n");
+      DEBUG(dbgs() << "Some interferences cannot be recolored.\n");
       continue;
     }
 




More information about the llvm-commits mailing list