[llvm] 395f8cc - RegAllocGreedy: Fix typo

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 31 13:30:08 PDT 2022


Author: Matt Arsenault
Date: 2022-03-31T16:30:01-04:00
New Revision: 395f8ccfc9742dc7a22658c08fe83de25c10209c

URL: https://github.com/llvm/llvm-project/commit/395f8ccfc9742dc7a22658c08fe83de25c10209c
DIFF: https://github.com/llvm/llvm-project/commit/395f8ccfc9742dc7a22658c08fe83de25c10209c.diff

LOG: RegAllocGreedy: Fix typo

Added: 
    

Modified: 
    llvm/lib/CodeGen/RegAllocGreedy.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/RegAllocGreedy.cpp b/llvm/lib/CodeGen/RegAllocGreedy.cpp
index da8c75f9c597d..3b23a22c14926 100644
--- a/llvm/lib/CodeGen/RegAllocGreedy.cpp
+++ b/llvm/lib/CodeGen/RegAllocGreedy.cpp
@@ -1977,9 +1977,9 @@ unsigned RAGreedy::tryLastChanceRecoloring(const LiveInterval &VirtReg,
       continue;
     }
 
-    // RecoloringCandidates contains all the virtual registers that interfer
-    // with VirtReg on PhysReg (or one of its aliases).
-    // Enqueue them for recoloring and perform the actual recoloring.
+    // RecoloringCandidates contains all the virtual registers that interfere
+    // with VirtReg on PhysReg (or one of its aliases). Enqueue them for
+    // recoloring and perform the actual recoloring.
     PQueue RecoloringQueue;
     for (const LiveInterval *RC : RecoloringCandidates) {
       Register ItVirtReg = RC->reg();


        


More information about the llvm-commits mailing list