This is an archive of the discontinued LLVM Phabricator instance.

[PGO] Remove legacy PM passes
ClosedPublic

Authored by MaskRay on Apr 14 2022, 9:41 PM.

Details

Summary

Legacy PM for optimization pipeline was deprecated in 13.0.0 and Clang dropped
legacy PM support in D123609. This change removes legacy PM passes for PGO so
that downstream projects won't be able to use it. It seems appropriate to start
removing such "add-on" features like instrumentations, before we remove more
stuff after 15.x is branched.

I have checked many LLVM users and only ldc[1] uses the legacy PGO pass.

[1]: https://github.com/ldc-developers/ldc/issues/3961

Diff Detail

Event Timeline

MaskRay created this revision.Apr 14 2022, 9:41 PM
Herald added a reviewer: ctetreau. · View Herald Transcript
Herald added a reviewer: ctetreau. · View Herald Transcript
Herald added a reviewer: ctetreau. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
MaskRay requested review of this revision.Apr 14 2022, 9:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 14 2022, 9:41 PM
davidxl accepted this revision.Apr 14 2022, 10:06 PM

thanks for the cleanup. LGTM

This revision is now accepted and ready to land.Apr 14 2022, 10:06 PM
MaskRay edited the summary of this revision. (Show Details)Apr 15 2022, 10:22 AM
This revision was landed with ongoing or failed builds.Apr 15 2022, 10:26 AM
This revision was automatically updated to reflect the committed changes.