From: Mikael Holmen Date: Wed, 27 Sep 2017 11:27:50 +0000 (+0000) Subject: [RegAllocGreedy] Fix spelling error, "inteference" -> "interference", NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2b3e49ff8d4def3b57326317fac0c6356a5b200;p=llvm [RegAllocGreedy] Fix spelling error, "inteference" -> "interference", NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314299 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/RegAllocGreedy.cpp b/lib/CodeGen/RegAllocGreedy.cpp index 6f0b7a936c5..1761a72930c 100644 --- a/lib/CodeGen/RegAllocGreedy.cpp +++ b/lib/CodeGen/RegAllocGreedy.cpp @@ -2085,7 +2085,7 @@ RAGreedy::mayRecolorAllInterferences(unsigned PhysReg, LiveInterval &VirtReg, 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::tryLastChanceRecoloring(LiveInterval &VirtReg, // 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::tryLastChanceRecoloring(LiveInterval &VirtReg, // 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; }