[Mlir-commits] [mlir] 30dd839 - [MLIR][Linalg] Fix typos in 'DropUnitDims.cpp'

lorenzo chelini llvmlistbot at llvm.org
Mon Sep 12 02:38:00 PDT 2022


Author: lorenzo chelini
Date: 2022-09-12T11:37:31+02:00
New Revision: 30dd839608d332fd005cdd7a394900b8d04a1f91

URL: https://github.com/llvm/llvm-project/commit/30dd839608d332fd005cdd7a394900b8d04a1f91
DIFF: https://github.com/llvm/llvm-project/commit/30dd839608d332fd005cdd7a394900b8d04a1f91.diff

LOG: [MLIR][Linalg] Fix typos in 'DropUnitDims.cpp'

Added: 
    

Modified: 
    mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp b/mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
index cfc50f985a584..d58dc4a6540f5 100644
--- a/mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
+++ b/mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
@@ -235,7 +235,7 @@ struct UnitExtentReplacementInfo {
 /// Utility function for replacing operands/results to a linalg generic
 /// operation with unit-extent dimensions. These can be replaced with
 /// an operand/result with the unit-extent dimension removed. This is only done
-/// if the indexing map used to access that didimensionmension has a
+/// if the indexing map used to access that dimension has a
 /// AffineConstantExpr of value 0. Given the `type` of an result/operand of a
 /// Linalg op, and its `indexMap` the utility function returns:
 /// - the new type with dimensions of size 1 removed.
@@ -515,7 +515,7 @@ struct RankReducedInsertSliceOp : public OpRewritePattern<InsertOpTy> {
     {
       OpBuilder::InsertionGuard g(rewriter);
       // The only 
diff erence between InsertSliceOp and ParallelInsertSliceOp is
-      // the the insertion point is just before the ParallelCombiningOp in the
+      // the insertion point is just before the ParallelCombiningOp in the
       // parallel case.
       if (std::is_same<InsertOpTy, tensor::ParallelInsertSliceOp>::value)
         rewriter.setInsertionPoint(insertSliceOp->getParentOp());


        


More information about the Mlir-commits mailing list