[Mlir-commits] [mlir] b7cac86 - [mlir] Fix typo in SuperVectorizer

Diego Caballero llvmlistbot at llvm.org
Wed Aug 18 16:02:38 PDT 2021


Author: Diego Caballero
Date: 2021-08-18T22:55:12Z
New Revision: b7cac864b212ecd5a09487beee5ad5b5ca2918df

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

LOG: [mlir] Fix typo in SuperVectorizer

NFC.

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D108334

Added: 
    

Modified: 
    mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp b/mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp
index d529d842caba3..d843c9c4c2c99 100644
--- a/mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp
+++ b/mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp
@@ -1016,7 +1016,7 @@ static Value createMask(AffineForOp vecForOp, VectorizationState &state) {
   state.builder.setInsertionPointToStart(vecForOp.getBody());
 
   // We generate the mask using the `vector.create_mask` operation which accepts
-  // the number of meaningful elements (i.e. the legth of the prefix of 1s).
+  // the number of meaningful elements (i.e. the length of the prefix of 1s).
   // To compute the number of meaningful elements we subtract the current value
   // of the iteration variable from the upper bound of the loop. Example:
   //


        


More information about the Mlir-commits mailing list