[llvm-branch-commits] [mlir] bd941c8 - [mlir][Tensor] Fix wrong comment (NFC)

Adrian Kuegel via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Apr 13 05:31:08 PDT 2022


Author: Adrian Kuegel
Date: 2022-04-13T14:30:55+02:00
New Revision: bd941c83f51af4b6ee18d6a228dc1cf20bcf1443

URL: https://github.com/llvm/llvm-project/commit/bd941c83f51af4b6ee18d6a228dc1cf20bcf1443
DIFF: https://github.com/llvm/llvm-project/commit/bd941c83f51af4b6ee18d6a228dc1cf20bcf1443.diff

LOG: [mlir][Tensor] Fix wrong comment (NFC)

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td b/mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
index 660c80865abda..edb1f20b3cd8a 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] :


        


More information about the llvm-branch-commits mailing list