[mlir] Fix typo in SuperVectorizer
authorDiego Caballero <diegocaballero@google.com>
Wed, 18 Aug 2021 22:21:23 +0000 (22:21 +0000)
committerDiego Caballero <diegocaballero@google.com>
Wed, 18 Aug 2021 22:55:12 +0000 (22:55 +0000)
NFC.

Reviewed By: aartbik

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

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

index d529d84..d843c9c 100644 (file)
@@ -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:
   //