[Mlir-commits] [mlir] 788b8b6 - [mlir][memref] Remove extra brackets in doc

Peiming Liu llvmlistbot at llvm.org
Thu Aug 18 11:26:36 PDT 2022


Author: Peiming Liu
Date: 2022-08-18T18:26:29Z
New Revision: 788b8b6b4a932dbd286f0b1a75a661ab0a62892e

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

LOG: [mlir][memref] Remove extra brackets in doc

There is an (probably) unintended bracket in the documentation for `memref.subview`. See https://mlir.llvm.org/docs/Dialects/MemRef/#memrefsubview-mlirmemrefsubviewop below Example 5.

Reviewed By: aartbik

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

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td b/mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
index bebf27483aef8..082f4bfa0a764 100644
--- a/mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
+++ b/mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
@@ -1575,7 +1575,6 @@ def SubViewOp : MemRef_OpWithOffsetSizesAndStrides<"subview", [
     %3 = memref.subview %2[3, 4, 2][1, 6, 3][1, 1, 1] :
       memref<8x16x4xf32> to memref<6x3xf32, offset: 210, strides: [4, 1]>
     ```
-    }
   }];
 
   let arguments = (ins AnyMemRef:$source,


        


More information about the Mlir-commits mailing list