From b7cac864b212ecd5a09487beee5ad5b5ca2918df Mon Sep 17 00:00:00 2001 From: Diego Caballero Date: Wed, 18 Aug 2021 22:21:23 +0000 Subject: [PATCH] [mlir] Fix typo in SuperVectorizer NFC. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D108334 --- mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp b/mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp index d529d84..d843c9c 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: // -- 2.7.4