This PR removes the need to specify (Herd|Launch|Segment)TerminatorOps in the python bindings by specifying the terminator field in the region_op definition of the herd, launch, and segment decorators. I believe it makes the resulting code cleaner.
This PR builds on https://github.com/Xilinx/mlir-air/pull/600 to make merging easier since both PRs change about the same files. If the previous PR is not accepted, it should be easy enough to move these few minor changes though git cherry pick or similar.
This PR removes the need to specify (Herd|Launch|Segment)TerminatorOps in the python bindings by specifying the
terminator
field in theregion_op
definition of theherd
,launch
, andsegment
decorators. I believe it makes the resulting code cleaner.This PR builds on https://github.com/Xilinx/mlir-air/pull/600 to make merging easier since both PRs change about the same files. If the previous PR is not accepted, it should be easy enough to move these few minor changes though git cherry pick or similar.