This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Support getSuccessorInputs from parent op
ClosedPublic

Authored by Mogball on Jun 7 2022, 11:27 AM.

Details

Summary

Ops that implement RegionBranchOpInterface are allowed to indicate that they can branch back to themselves in getSuccessorRegions, but there is no API that allows them to specify the forwarded operands. This patch enables that by changing getSuccessorEntryOperands to accept None.

Fixes #54928

Diff Detail

Event Timeline

Mogball created this revision.Jun 7 2022, 11:27 AM
Mogball requested review of this revision.Jun 7 2022, 11:27 AM
rriddle accepted this revision.Jun 12 2022, 11:45 PM
This revision is now accepted and ready to land.Jun 12 2022, 11:45 PM
This revision was automatically updated to reflect the committed changes.