diff options
author | Nicolas Vasilache <ntv@google.com> | 2020-10-05 05:44:27 -0400 |
---|---|---|
committer | Nicolas Vasilache <ntv@google.com> | 2020-10-05 05:44:41 -0400 |
commit | d52211e384773ae06aabf476c78f16d2976660b0 (patch) | |
tree | e7ddc983f452bd71549382206ae8115db7f69581 | |
parent | 5b5e78a43124c0ced813f378195b36098f716c8f (diff) | |
download | llvm-d52211e384773ae06aabf476c78f16d2976660b0.zip llvm-d52211e384773ae06aabf476c78f16d2976660b0.tar.gz llvm-d52211e384773ae06aabf476c78f16d2976660b0.tar.bz2 |
[mlir] Fix SubViewOp doc in .td
-rw-r--r-- | mlir/include/mlir/Dialect/StandardOps/IR/Ops.td | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mlir/include/mlir/Dialect/StandardOps/IR/Ops.td b/mlir/include/mlir/Dialect/StandardOps/IR/Ops.td index 4a014cb..69c979a 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> |