This is an archive of the discontinued LLVM Phabricator instance.

[Pass] Move ControlHeightReduction to module optimization pipeline
ClosedPublic

Authored by xur on Feb 24 2023, 6:09 PM.

Details

Summary

This is a modified version of commit b374423304a8 by Arthur (https://reviews.llvm.org/D143424).

Here we invoke to the pass independent of PGOOPT. We now check if the profile is available through the program summary.
This ensures CHR is called in distributed ThinLTO BE compilation (where PGOOPT might not be created).

Diff Detail

Event Timeline

xur created this revision.Feb 24 2023, 6:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 24 2023, 6:09 PM
xur requested review of this revision.Feb 24 2023, 6:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 24 2023, 6:09 PM
aeubanks accepted this revision.Feb 25 2023, 10:07 AM
This revision is now accepted and ready to land.Feb 25 2023, 10:07 AM