This op "unbatches" an op handle and executes the loop body for each payload op.
Depends On D130244
Differential D130257
[mlir][transform] Add ForeachOp to transform dialect springerm on Jul 21 2022, 5:27 AM. Authored by
Details
Diff Detail
Event Timeline
Comment Actions I would consider describing the default "batched" mode in https://github.com/llvm/llvm-project/blob/main/mlir/include/mlir/Dialect/Transform/IR/TransformDialect.td and mentioning this operation as a way of obtaining "unbatched" mode.
|
I would consider returning as many handles as transform.yield has operands, with each handle corresponding to a list of individual payload operations yielded by each iteration. This would make this op composable with functional-style composition of transformations. Not necessary for this commit.