Page MenuHomePhabricator

[mlir] Simplify BranchOpInterface by using MutableOperandRange

Authored by rriddle on Apr 29 2020, 2:59 AM.



This range allows for performing many different operations on successor operands, including erasing/adding/setting. This removes the need for the explicit canEraseSuccessorOperand and eraseSuccessorOperand methods.

Depends On D79030

Diff Detail

Event Timeline

rriddle created this revision.Apr 29 2020, 2:59 AM
DavidTruby resigned from this revision.Apr 29 2020, 3:20 AM
jpienaar accepted this revision.Apr 29 2020, 1:50 PM

Nice, thanks

This revision is now accepted and ready to land.Apr 29 2020, 1:50 PM
This revision was automatically updated to reflect the committed changes.