This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] NFC. Expose/move MDG out of Affine fusion into Affine Analysis
ClosedPublic

Authored by bondhugula on Mar 28 2023, 8:53 PM.

Details

Summary

Move out MemRefDependenceGraph analysis structure out of LoopFusion into
the Affine Analysis library. This had been a long pending TODO. Moving
MDG out allows its use in other affine passes as well as allows building
custom affine fusion passes downstream while reusing upstream fusion
utilties. The file LoopFusion.cpp had also become lengthy and this
change makes things more modular. This change is a pure NFC and is a
code movement.

NFC.

Diff Detail

Event Timeline

bondhugula created this revision.Mar 28 2023, 8:53 PM
bondhugula requested review of this revision.Mar 28 2023, 8:53 PM

Follow-up code movement and cleanup.

springerm accepted this revision.Mar 29 2023, 7:02 AM
This revision is now accepted and ready to land.Mar 29 2023, 7:02 AM
This revision was landed with ongoing or failed builds.Mar 29 2023, 11:41 AM
This revision was automatically updated to reflect the committed changes.

Thanks! This was a necessary refactoring that we talked about in the past but never happened.