[Mlir-commits] [mlir] [mlir][linalg] Fix rank-reducing insert_slice vectorization writing to wrong dims (PR #226490)

Federico Bruzzone llvmlistbot at llvm.org
Sat Sep 26 02:52:36 PDT 2026


================
@@ -600,18 +644,16 @@ Operation *vector::createWriteOrMaskedWrite(OpBuilder &builder, Location loc,
     maskSizes = SmallVector<OpFoldResult>(destSizes.end() - vecToStoreRank,
----------------
FedericoBruzzone wrote:

Still computes `maskSizes` with the minor-identity-only slicing, while the else branch below doesn't. 
Is that intentional, or should this branch be updated too for consistency?

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


More information about the Mlir-commits mailing list