[Mlir-commits] [mlir] Add examples for reinterpret_cast and subview operators to show their behavior in relation to their input memref underlying memory and view (PR #135244)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Apr 24 12:46:51 PDT 2025
================
@@ -1942,7 +1994,55 @@ def SubViewOp : MemRef_OpWithOffsetSizesAndStrides<"subview", [
%1 = memref.subview %0[0, 0, 0] [8, 16, 4] [1, 1, 1]
: memref<8x16x4xf32> to memref<8x16x4xf32>
```
+ Example 6:
----------------
ivangarcia44 wrote:
Done thanks
https://github.com/llvm/llvm-project/pull/135244
More information about the Mlir-commits
mailing list