From bd941c83f51af4b6ee18d6a228dc1cf20bcf1443 Mon Sep 17 00:00:00 2001 From: Adrian Kuegel Date: Wed, 13 Apr 2022 14:30:01 +0200 Subject: [PATCH] [mlir][Tensor] Fix wrong comment (NFC) --- mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td b/mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td index 660c808..edb1f20 100644 --- a/mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td +++ b/mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td @@ -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] : -- 2.7.4