[Mlir-commits] [mlir] [mlir][memref]: Collapse strided unit dim even if strides are dynamic (PR #157330)

Han-Chung Wang llvmlistbot at llvm.org
Tue Nov 4 11:59:30 PST 2025


hanhanW wrote:

It fails in the below check. `stride=1` mismatch `srcStride=96`. I think `stride` should be computed as `96` like the old behavior.

https://github.com/llvm/llvm-project/blob/8f683c3e4b6fe939a7d0f1167934aa823a889267/mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp#L2590-L2591

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


More information about the Mlir-commits mailing list