[mlir] [VectorOps] fixed typo in verifier of slice op
authorAart Bik <ajcbik@google.com>
Mon, 13 Jan 2020 23:58:49 +0000 (15:58 -0800)
committeraartbik <ajcbik@google.com>
Tue, 14 Jan 2020 02:53:15 +0000 (18:53 -0800)
Reviewers: nicolasvasilache, andydavis1, rriddle

Reviewed By: nicolasvasilache, rriddle

Subscribers: merge_guards_bot, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, llvm-commits

Tags: #llvm

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

mlir/lib/Dialect/VectorOps/VectorOps.cpp

index 8206d10..f2742de 100644 (file)
@@ -537,7 +537,7 @@ isValidExtractOrInsertSlicesType(Operation *op, VectorType vectorType,
     sliceStrides[i] = sliceStrides[i + 1] * dimSliceCounts[i + 1];
 
   // Generate each slice shape based on 'sizes', 'strides' and 'vectorType',
-  // and varify that the same matches the corresponding tuple element 'i'.
+  // and verify that the same matches the corresponding tuple element 'i'.
   for (int64_t i = 0, e = tupleType.size(); i < e; ++i) {
     // De-linearize w.r.t. 'sliceStrides'.
     SmallVector<int64_t, 4> vectorOffsets(rank);