[mlir][Tensor] Fix wrong comment (NFC)
authorAdrian Kuegel <akuegel@google.com>
Wed, 13 Apr 2022 12:30:01 +0000 (14:30 +0200)
committerAdrian Kuegel <akuegel@google.com>
Wed, 13 Apr 2022 12:30:55 +0000 (14:30 +0200)
mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td

index 660c808..edb1f20 100644 (file)
@@ -516,7 +516,7 @@ def Tensor_InsertSliceOp : Tensor_OpWithOffsetSizesAndStrides<"insert_slice", [
     Example:
 
     ```
-    // Rank-reducing extract_slice.
+    // Rank-altering insert_slice.
     %1 = tensor.insert_slice %t into %0[0, 0, 0][1, 16, 4][1, 1, 1] :
       tensor<16x4xf32> into tensor<8x16x4xf32>
     %3 = tensor.insert_slice %tt into %2[%o0, 4, %o2][1, %sz1, 1][1, %st1, 1] :