[llvm] ba5500f - [RAGreedy] Fix minor typo in comment. NFC

Marcello Maggioni via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 12 08:16:02 PDT 2020


Author: Marcello Maggioni
Date: 2020-03-12T08:15:04-07:00
New Revision: ba5500f27a26b8f2895057aaf25b7e26654523d7

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

LOG: [RAGreedy] Fix minor typo in comment. NFC

Added: 
    

Modified: 
    llvm/lib/CodeGen/RegAllocGreedy.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/RegAllocGreedy.cpp b/llvm/lib/CodeGen/RegAllocGreedy.cpp
index 434bc0e61215..a5871a5fbb07 100644
--- a/llvm/lib/CodeGen/RegAllocGreedy.cpp
+++ b/llvm/lib/CodeGen/RegAllocGreedy.cpp
@@ -3080,7 +3080,7 @@ unsigned RAGreedy::selectOrSplitImpl(LiveInterval &VirtReg,
     unsigned NewVRegSizeBefore = NewVRegs.size();
     unsigned PhysReg = trySplit(VirtReg, Order, NewVRegs, FixedRegisters);
     if (PhysReg || (NewVRegs.size() - NewVRegSizeBefore)) {
-      // If VirtReg got split, the eviction info is no longre relevant.
+      // If VirtReg got split, the eviction info is no longer relevant.
       LastEvicted.clearEvicteeInfo(VirtReg.reg);
       return PhysReg;
     }


        


More information about the llvm-commits mailing list