[Mlir-commits] [mlir] d52211e - [mlir] Fix SubViewOp doc in .td

Nicolas Vasilache llvmlistbot at llvm.org
Mon Oct 5 02:44:52 PDT 2020


Author: Nicolas Vasilache
Date: 2020-10-05T05:44:41-04:00
New Revision: d52211e384773ae06aabf476c78f16d2976660b0

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

LOG: [mlir] Fix SubViewOp doc in .td

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/StandardOps/IR/Ops.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/StandardOps/IR/Ops.td b/mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
index 4a014cb7060c..69c979ae9e38 100644
--- a/mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
+++ b/mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
@@ -3028,10 +3028,11 @@ def SubViewOp : BaseOpWithOffsetSizesAndStrides<
     // memref is "inbounds" w.r.t to base memref. It is upto the client
     // to ensure that the subview is accessed in a manner that is
     // in-bounds.
+    ```
 
     Example 5:
 
-    ```
+    ```mlir
     // Rank-reducing subview.
     %1 = subview %0[0, 0, 0][1, 16, 4][1, 1, 1] :
       memref<8x16x4xf32> to memref<16x4xf32>


        


More information about the Mlir-commits mailing list