[Mlir-commits] [mlir] [mlir][Linalg] enable scalar lowering for linalg.pack (PR #178222)
Han-Chung Wang
llvmlistbot at llvm.org
Mon Feb 2 14:51:21 PST 2026
https://github.com/hanhanW requested changes to this pull request.
Just few nits. The functionally is identical to IREE's implementation. The only differences are API name translations:
| IREE | Upstream |
|------|----------|
| `packOp.getInputRank()` | `packOp.getSourceRank()` |
| `packOp.getInput()` | `packOp.getSource()` |
| `packOp.getOutput()` | `packOp.getDest()` |
| `getDimValue(builder, loc, packOp.getInput(), dim)` | `createOrFoldDimOp(builder, loc, packOp.getSource(), dim)` |
Logic, control flow, and affine expressions are identical.
The commit itself has co-authors, can you also attach such information to PR description? Thanks for your contribution!
https://github.com/llvm/llvm-project/pull/178222
More information about the Mlir-commits
mailing list