You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[MLIR][Linalg] linalg.pack verifier asserts "static tile size can't be zero" when an SSA tile is arith.constant 0 and there is no padding_value #239943
Activity
llvmorg-github-actions commentedon Nov 7, 2026
@llvm/issue-subscribers-mlir-linalg
Author: Jiang Yuancheng (YuanchengJiang)
Details
The following code: ```mlir func.func @f(%src: tensor<128x256xf32>, %dest: tensor<?x?x?x?xf32>) -> tensor<?x?x?x?xf32> { %c0 = arith.constant 0 : index %pack = linalg.pack %src inner_dims_pos = [0, 1] inner_tiles = [%c0, %c0] into %dest : tensor<128x256xf32> -> tensor<?x?x?x?xf32> return %pack : tensor<?x?x?x?xf32> } ```Resulted in this output:
Trunk reproducer: https://godbolt.org/z/TnG86b6K7