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

Andrzej WarzyƄski llvmlistbot at llvm.org
Mon Jun 29 01:02:41 PDT 2026


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

----------------
banach-space wrote:

All of the tests above copy into a 2D array and here we are back to copying into 1D. The test below also copies into 2D. it feels like mixing test categories too much.

Also, the shapes (` %src : memref<4xf32>, %dst : memref<42xf32>`) are different to shapes in other examples (e..g `%src : memref<1x3x1xf32>, %dst : memref<1x3x11xf32>`). Is this significant? If not, please re-use the shapes the reduce the cognitive load.

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


More information about the Mlir-commits mailing list