This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Don't return nullptrs from scf::IfOp::getSuccessorRegions
ClosedPublic

Authored by tpopp on Feb 16 2021, 2:32 AM.

Details

Summary

Previously this might happen if there was no elseRegion and the method
was asked for all successor regions.

Diff Detail

Event Timeline

tpopp created this revision.Feb 16 2021, 2:32 AM
tpopp requested review of this revision.Feb 16 2021, 2:32 AM
frgossen accepted this revision.Feb 16 2021, 2:37 AM
This revision is now accepted and ready to land.Feb 16 2021, 2:37 AM
pifon2a accepted this revision.Feb 16 2021, 3:03 AM
This revision was landed with ongoing or failed builds.Feb 16 2021, 3:06 AM
This revision was automatically updated to reflect the committed changes.