[Mlir-commits] [mlir] 60baaf1 - [mlir] fix typo in mem2reg [NFC]
Congcong Cai
llvmlistbot at llvm.org
Sat Apr 20 04:52:28 PDT 2024
Author: Congcong Cai
Date: 2024-04-20T19:52:12+08:00
New Revision: 60baaf153d05a7828b304050aba461ebb66232c6
URL: https://github.com/llvm/llvm-project/commit/60baaf153d05a7828b304050aba461ebb66232c6
DIFF: https://github.com/llvm/llvm-project/commit/60baaf153d05a7828b304050aba461ebb66232c6.diff
LOG: [mlir] fix typo in mem2reg [NFC]
Added:
Modified:
mlir/lib/Transforms/Mem2Reg.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Transforms/Mem2Reg.cpp b/mlir/lib/Transforms/Mem2Reg.cpp
index 1e620e46af84ea..0c1ce70f070852 100644
--- a/mlir/lib/Transforms/Mem2Reg.cpp
+++ b/mlir/lib/Transforms/Mem2Reg.cpp
@@ -46,7 +46,7 @@ using namespace mlir;
/// Control flow can create situations where a load could be replaced by
/// multiple possible stores depending on the control flow path taken. As a
/// result, this pass must introduce new block arguments in some blocks to
-/// accomodate for the multiple possible definitions. Each predecessor will
+/// accommodate for the multiple possible definitions. Each predecessor will
/// populate the block argument with the definition reached at its end. With
/// this, the value stored can be well defined at block boundaries, allowing
/// the propagation of replacement through blocks.
@@ -109,7 +109,7 @@ struct MemorySlotPromotionInfo {
/// This is a DAG structure because if an operation must eliminate some of
/// its uses, it is because the defining ops of the blocking uses requested
/// it. The defining ops therefore must also have blocking uses or be the
- /// starting point of the bloccking uses.
+ /// starting point of the blocking uses.
BlockingUsesMap userToBlockingUses;
};
@@ -414,7 +414,7 @@ MemorySlotPromotionAnalyzer::computeInfo() {
// Then, compute blocks in which two or more definitions of the allocated
// variable may conflict. These blocks will need a new block argument to
- // accomodate this.
+ // accommodate this.
computeMergePoints(info.mergePoints);
// The slot can be promoted if the block arguments to be created can
More information about the Mlir-commits
mailing list