Add options to handle cases where there are not enough or too many payload ops mapped to the given handle.
Depends On: D149937
Paths
| Differential D149955
[mlir][transform] SplitHandleOp: add additional distribution options ClosedPublic Authored by springerm on May 5 2023, 6:32 AM.
Details Summary Add options to handle cases where there are not enough or too many payload ops mapped to the given handle. Depends On: D149937
Diff Detail
Event Timelineftynse added inline comments.
This revision is now accepted and ready to land.May 8 2023, 5:41 AM This revision was landed with ongoing or failed builds.May 9 2023, 2:44 AM Closed by commit rG709098fb38b5: [mlir][transform] SplitHandleOp: add additional distribution options (authored by springerm). · Explain Why This revision was automatically updated to reflect the committed changes. springerm marked 3 inline comments as done.
Revision Contents
Diff 519839 mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
mlir/lib/Dialect/Transform/IR/TransformOps.cpp
mlir/test/Dialect/Transform/test-interpreter.mlir
|
Nit: since we know that all vectors except one will have at most one element, this is a legitimate case for SmallVector<SmallVector<Operation *, 1>>. Maybe we can also reserve space in the vector identified by getOverflowResult.