[llvm] 105dc0f - [NFC] Fix typo longre -> longer

Max Kazantsev via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 22 22:14:23 PDT 2021


Author: Max Kazantsev
Date: 2021-03-23T12:13:52+07:00
New Revision: 105dc0f9deb320b3a65993ec23c258e5aa5dda4d

URL: https://github.com/llvm/llvm-project/commit/105dc0f9deb320b3a65993ec23c258e5aa5dda4d
DIFF: https://github.com/llvm/llvm-project/commit/105dc0f9deb320b3a65993ec23c258e5aa5dda4d.diff

LOG: [NFC] Fix typo longre -> longer

Added: 
    

Modified: 
    llvm/lib/CodeGen/RegAllocGreedy.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/RegAllocGreedy.cpp b/llvm/lib/CodeGen/RegAllocGreedy.cpp
index d98a3c1bad9c..4ec275fdc0bf 100644
--- a/llvm/lib/CodeGen/RegAllocGreedy.cpp
+++ b/llvm/lib/CodeGen/RegAllocGreedy.cpp
@@ -3023,7 +3023,7 @@ MCRegister RAGreedy::selectOrSplitImpl(LiveInterval &VirtReg,
       AllocationOrder::create(VirtReg.reg(), *VRM, RegClassInfo, Matrix);
   if (MCRegister PhysReg =
           tryAssign(VirtReg, Order, NewVRegs, FixedRegisters)) {
-    // If VirtReg got an assignment, the eviction info is no longre relevant.
+    // If VirtReg got an assignment, the eviction info is no longer relevant.
     LastEvicted.clearEvicteeInfo(VirtReg.reg());
     // When NewVRegs is not empty, we may have made decisions such as evicting
     // a virtual register, go with the earlier decisions and use the physical
@@ -3060,7 +3060,7 @@ MCRegister RAGreedy::selectOrSplitImpl(LiveInterval &VirtReg,
       if (Hint && Hint != PhysReg)
         SetOfBrokenHints.insert(&VirtReg);
       // If VirtReg eviction someone, the eviction info for it as an evictee is
-      // no longre relevant.
+      // no longer relevant.
       LastEvicted.clearEvicteeInfo(VirtReg.reg());
       return PhysReg;
     }


        


More information about the llvm-commits mailing list