[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)
Matthias Springer
llvmlistbot at llvm.org
Thu Apr 24 11:24:11 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:
----------------
matthias-springer wrote:
Let's make this also Example 1?
https://github.com/llvm/llvm-project/pull/135244
More information about the Mlir-commits
mailing list