[Mlir-commits] [mlir] [MLIR][Linalg] Prevent PackOp canonicalization crash on zero tile factor (PR #185624)

Andrzej WarzyƄski llvmlistbot at llvm.org
Tue Mar 10 11:48:14 PDT 2026


banach-space wrote:

> I'm surprised that the zero tile factor isn't caught in the parser / verifier.

It is for me, here: https://github.com/llvm/llvm-project/blob/3b3f3730351cd59a849663700b07d7643a7f74a1/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp?plain=1#L5135-L5136

@Ayush3941 , as suggested in https://github.com/llvm/llvm-project/issues/185352, please triage further before proposing a fix.

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


More information about the Mlir-commits mailing list