[Mlir-commits] [mlir] [MLIR] Add a utility pass to linearize `memref` (PR #136797)

Krzysztof Drewniak llvmlistbot at llvm.org
Mon May 5 11:51:38 PDT 2025


krzysz00 wrote:

I wouldn't call it a "failure", I'd just say that the size of the memref has to become less specific to account for the subview?

I'm not sure I see the problem with going from a `memref<4x4xT, strides<[8, 1], offset: ?>>` to a `memref<32xT, strides<[1], offset: ?>`?

(Assuming you want to linearize subviews at all)

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


More information about the Mlir-commits mailing list