This is an archive of the discontinued LLVM Phabricator instance.

[LoopInfo] Move generic LoopInfo into own files
ClosedPublic

Authored by Dinistro on Apr 13 2023, 7:56 AM.

Details

Summary

This commit splits the generic part of LoopInfo into separate files.
These new GenericLoopInfo files are located in llvm/Support to be inline
with GenericDomTree.

Furthermore, this change ensures that MLIR's Bazel build does not have
to link against LLVMAnalysis just to use these template headers.

Depends on D148219

Diff Detail

Event Timeline

Dinistro created this revision.Apr 13 2023, 7:56 AM
Herald added a reviewer: Amir. · View Herald Transcript
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Dinistro requested review of this revision.Apr 13 2023, 7:56 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 13 2023, 7:56 AM
Dinistro updated this revision to Diff 514830.Apr 18 2023, 11:27 PM

rebased to retrigger CI

Please note that the build failure is not related to these changes. There was some breakage in ORC that is only shown in static lib builds of the llvm examples.

ftynse accepted this revision.Apr 21 2023, 2:02 PM
This revision is now accepted and ready to land.Apr 21 2023, 2:02 PM
This revision was landed with ongoing or failed builds.Apr 23 2023, 11:20 PM
This revision was automatically updated to reflect the committed changes.