Since we know that every group must have a group[done] = ... assignment, the ir::Builder::add_group() function should take arguments for the group's done condition.
In fact, it may even be useful to have add_group() take a Vec<ir::Assignment> argument for the group's assignments, although there may be drawbacks to this that I'm not thinking of.
Since we know that every group must have a
group[done] = ...
assignment, their::Builder::add_group()
function should take arguments for the group's done condition.In fact, it may even be useful to have
add_group()
take aVec<ir::Assignment>
argument for the group's assignments, although there may be drawbacks to this that I'm not thinking of.