[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:09 PDT 2025
================
@@ -1363,6 +1363,58 @@ def MemRef_ReinterpretCastOp
%dst.sizes = %sizes
%dst.strides = %strides
```
+
+ Example 2:
+
+ Consecutive `reinterpret_cast` operations on memref's with static dimensions.
+
+ We distinguish between *underlying memory* — the sequence of elements as
----------------
matthias-springer wrote:
Line break after 80 chars.
https://github.com/llvm/llvm-project/pull/135244
More information about the Mlir-commits
mailing list