[llvm] e2cabd7 - RegAllocGreedy: Fix comment typo
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 16 21:46:49 PST 2024
Author: Matt Arsenault
Date: 2024-12-17T12:46:04+07:00
New Revision: e2cabd715bb6e8c81fe7437e74ccf78e4db5edf7
URL: https://github.com/llvm/llvm-project/commit/e2cabd715bb6e8c81fe7437e74ccf78e4db5edf7
DIFF: https://github.com/llvm/llvm-project/commit/e2cabd715bb6e8c81fe7437e74ccf78e4db5edf7.diff
LOG: RegAllocGreedy: Fix comment typo
Added:
Modified:
llvm/lib/CodeGen/RegAllocGreedy.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/RegAllocGreedy.cpp b/llvm/lib/CodeGen/RegAllocGreedy.cpp
index af48e916feab45..4fa2bc76b38b4b 100644
--- a/llvm/lib/CodeGen/RegAllocGreedy.cpp
+++ b/llvm/lib/CodeGen/RegAllocGreedy.cpp
@@ -2427,7 +2427,7 @@ MCRegister RAGreedy::selectOrSplitImpl(const LiveInterval &VirtReg,
} else
return PhysReg;
}
- // Non emtpy NewVRegs means VirtReg has been split.
+ // Non empty NewVRegs means VirtReg has been split.
if (!NewVRegs.empty())
return 0;
More information about the llvm-commits
mailing list