[Mlir-commits] [mlir] [memref] Support non-scalar copies in `reinterpret_cast` elision (PR #203873)

ioana ghiban llvmlistbot at llvm.org
Mon Jun 29 05:57:29 PDT 2026


================

----------------
ioghiban wrote:

It could be, but the ultimate check is, as mentioned in an earlier comment, that every non-unit result dimension must map to a distinct source dimension by stride. So, `%rc` does not need identity layout to match this pattern. With dynamic strides in non-unit dims we cannot determine this.

https://github.com/llvm/llvm-project/pull/203873


More information about the Mlir-commits mailing list