[Mlir-commits] [mlir] [memref] Simplify loads from reinterpret_cast of 1D contiguous memrefs (PR #188459)

ioana ghiban llvmlistbot at llvm.org
Tue Apr 21 08:26:21 PDT 2026


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

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

Will add a comment. I will also add comments in the `memref.load` checks that explain how the indices to check are chosen. Briefly, in this case we expanded to the left, therefore the rewrite preserves trailing `rcInputRank` indices (last two). This means we're skipping `%c1` and we're not preserving semantics.

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


More information about the Mlir-commits mailing list