aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Maggioni <hayarms@gmail.com>2020-03-12 08:15:04 -0700
committerMarcello Maggioni <hayarms@gmail.com>2020-03-12 08:15:04 -0700
commitba5500f27a26b8f2895057aaf25b7e26654523d7 (patch)
treec4aa3002d6fa90df786015318b25f312ceaab06e
parent352f16db87f583ec7f55f8028647b5fd8616111f (diff)
downloadllvm-ba5500f27a26b8f2895057aaf25b7e26654523d7.zip
llvm-ba5500f27a26b8f2895057aaf25b7e26654523d7.tar.gz
llvm-ba5500f27a26b8f2895057aaf25b7e26654523d7.tar.bz2
[RAGreedy] Fix minor typo in comment. NFC
-rw-r--r--llvm/lib/CodeGen/RegAllocGreedy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocGreedy.cpp b/llvm/lib/CodeGen/RegAllocGreedy.cpp
index 434bc0e..a5871a5 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;
}