[llvm-branch-commits] [mlir] [MLIR] Fix incorrect slice contiguity inference in `vector::isContiguousSlice` (PR #142422)
James Newling via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Jun 13 09:56:05 PDT 2025
================
@@ -630,7 +639,10 @@ class FlattenContiguousRowMajorTransferReadPattern
if (transferReadOp.getMask())
return failure();
- int64_t firstDimToCollapse = sourceType.getRank() - vectorType.getRank();
----------------
newling wrote:
> For memrefs with dynamic dimensions and no strides or maps, e.g. memref<2x?x2xi8>
Makes sense yes
https://github.com/llvm/llvm-project/pull/142422
More information about the llvm-branch-commits
mailing list