aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorKazuaki Ishizaki <ishizaki@jp.ibm.com>2020-10-29 04:03:15 +0900
committerKazuaki Ishizaki <ishizaki@jp.ibm.com>2020-10-29 04:05:22 +0900
commit41b09f4efff1a9cd82af2d7d7eeb9916a88332e5 (patch)
tree6609ebef5d6de1ebf905991d88e4f38b35d25d08 /mlir/lib/Transforms/Utils/LoopUtils.cpp
parent220293da53b5049ded67b1a251bd85069fa068e7 (diff)
downloadllvm-41b09f4efff1a9cd82af2d7d7eeb9916a88332e5.zip
llvm-41b09f4efff1a9cd82af2d7d7eeb9916a88332e5.tar.gz
llvm-41b09f4efff1a9cd82af2d7d7eeb9916a88332e5.tar.bz2
[mlir] NFC: fix trivial typos
fix typos in comments and documents Reviewed By: jpienaar Differential Revision: https://reviews.llvm.org/D90089
Diffstat (limited to 'mlir/lib/Transforms/Utils/LoopUtils.cpp')
-rw-r--r--mlir/lib/Transforms/Utils/LoopUtils.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/mlir/lib/Transforms/Utils/LoopUtils.cpp b/mlir/lib/Transforms/Utils/LoopUtils.cpp
index 201ba22..0f49439 100644
--- a/mlir/lib/Transforms/Utils/LoopUtils.cpp
+++ b/mlir/lib/Transforms/Utils/LoopUtils.cpp
@@ -694,13 +694,13 @@ static void setInterTileBoundsParametric(OpBuilder &b, AffineForOp origLoop,
AffineForOp newLoop, Value tileSize) {
OperandRange newLbOperands = origLoop.getLowerBoundOperands();
- // The lower bounds for inter-tile loops are same as the correspondig lower
+ // The lower bounds for inter-tile loops are same as the corresponding lower
// bounds of original loops.
newLoop.setLowerBound(newLbOperands, origLoop.getLowerBoundMap());
// The new upper bound map for inter-tile loops, assuming constant lower
- // bounds, are now originalLowerBound + ceildiv((orignalUpperBound -
- // originalLowerBound), tiling paramter); where tiling parameter is the
+ // bounds, are now originalLowerBound + ceildiv((originalUpperBound -
+ // originalLowerBound), tiling parameter); where tiling parameter is the
// respective tile size for that loop. For e.g. if the original ubmap was
// ()->(1024), the new map will be
// ()[s0]->(ceildiv((1024 -lb) % s0)), where s0 is the tiling parameter.
@@ -757,7 +757,7 @@ static void setInterTileBoundsParametric(OpBuilder &b, AffineForOp origLoop,
// ubmap has only one result expression. For e.g.
// affine.for %i = 5 to %ub
//
- // A symbol operand is added which represents the tiling paramater. The
+ // A symbol operand is added which represents the tiling parameter. The
// new loop bounds here will be like ()[s0, s1] -> ((s0 - 5) ceildiv s1 + 5)
// where 's0' is the original upper bound and 's1' is the tiling
// parameter. 2.) When ubMap has more than one result expression. For e.g.