This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][Affine] Expose getAffineScope as a utility function
ClosedPublic

Authored by wsmoses on Mar 16 2022, 9:59 AM.

Details

Summary

The getAffineScope function is currently internal
to AffineOps.cpp. However, as the comment on the function
itself notes, this is useful in a variety of other places
externally. This PR allows other files to use the function.

Diff Detail

Event Timeline

wsmoses created this revision.Mar 16 2022, 9:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 16 2022, 9:59 AM
wsmoses requested review of this revision.Mar 16 2022, 9:59 AM
wsmoses updated this revision to Diff 415887.Mar 16 2022, 10:01 AM

Fix format

wsmoses updated this revision to Diff 415910.Mar 16 2022, 11:14 AM

Fix build

bondhugula accepted this revision.Mar 16 2022, 8:23 PM
This revision is now accepted and ready to land.Mar 16 2022, 8:23 PM
This revision was landed with ongoing or failed builds.Mar 16 2022, 8:26 PM
This revision was automatically updated to reflect the committed changes.