[llvm] 382b2b1 - RegAllocFast: Fix typo in comment
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 11 15:06:28 PDT 2020
Author: Matt Arsenault
Date: 2020-09-11T18:06:14-04:00
New Revision: 382b2b1b5183cdcc4c57b0650e25f4f107619099
URL: https://github.com/llvm/llvm-project/commit/382b2b1b5183cdcc4c57b0650e25f4f107619099
DIFF: https://github.com/llvm/llvm-project/commit/382b2b1b5183cdcc4c57b0650e25f4f107619099.diff
LOG: RegAllocFast: Fix typo in comment
Added:
Modified:
llvm/lib/CodeGen/RegAllocFast.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/RegAllocFast.cpp b/llvm/lib/CodeGen/RegAllocFast.cpp
index 5396f9f3a143..e0742c4508ea 100644
--- a/llvm/lib/CodeGen/RegAllocFast.cpp
+++ b/llvm/lib/CodeGen/RegAllocFast.cpp
@@ -1142,8 +1142,8 @@ void RegAllocFast::allocateInstruction(MachineInstr &MI) {
// Kill dead defs after the scan to ensure that multiple defs of the same
// register are allocated identically. We didn't need to do this for uses
- // because we are crerating our own kill flags, and they are always at the
- // last use.
+ // because we are creating our own kill flags, and they are always at the last
+ // use.
for (Register VirtReg : VirtDead)
killVirtReg(VirtReg);
VirtDead.clear();
More information about the llvm-commits
mailing list