This is an archive of the discontinued LLVM Phabricator instance.

[mlir][bufferize] Add isRepetitiveRegion to BufferizableOpInterface
ClosedPublic

Authored by springerm on Sep 1 2022, 7:30 AM.

Details

Summary

This method allows to declare regions as "repetitive" even if the parent op does not implement the RegionBranchOpInterface.

Depends On D133112

Diff Detail

Event Timeline

springerm created this revision.Sep 1 2022, 7:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 1 2022, 7:30 AM
springerm requested review of this revision.Sep 1 2022, 7:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 1 2022, 7:30 AM
nicolasvasilache accepted this revision.Sep 2 2022, 4:53 AM

Looks good but I would also mention in the doc that this is driven by needs from parallel op semantics.
Such ops may have conflicts across threads of execution but do not necessarily implement RegionBranchOpInterface.

This revision is now accepted and ready to land.Sep 2 2022, 4:53 AM