Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM, please add a test for the lowering to "simple" pad.
mlir/test/Dialect/Linalg/transform-lower-pack.mlir | ||
---|---|---|
249 | Could you add a test with the lowering to a "simple" pad? Use func.func @pack_as_pad as template and just add an outer_dims field. |
Comment Actions
thanks!
mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp | ||
---|---|---|
497 ↗ | (On Diff #516195) | nit: obained -> obtained |
Could you add a test with the lowering to a "simple" pad?
I.e., outer dimensions should be 1s and inner_dim_pos should not perform any transpose.
In other words, shuffling dims of size one should still lower as a pad with no transpose.
Use func.func @pack_as_pad as template and just add an outer_dims field.