[Mlir-commits] [mlir] [memref] Support non-scalar copies in `reinterpret_cast` elision (PR #203873)
ioana ghiban
llvmlistbot at llvm.org
Fri Jul 3 03:00:36 PDT 2026
================
----------------
ioghiban wrote:
If this assert is reached, `getSingleNonUnitDim(srcType)` returned true. Therefore, the source is guaranteed to have one non-unit dimension. This region also assumes dynamic offset, but that's not relevant for this assert, so I will move it before the offset check. Does this comment motivate the assert:
```
// A source with exactly one non-unit dimension cannot be indexed directly by
// multiple non-unit result dimensions.
```
?
https://github.com/llvm/llvm-project/pull/203873
More information about the Mlir-commits
mailing list