This is an archive of the discontinued LLVM Phabricator instance.

[Pipeline] Move ControlHeightReduction to module optimization pipeline
ClosedPublic

Authored by aeubanks on Feb 6 2023, 11:06 AM.

Details

Summary

This pass isn't a simplification, it's a non-canonical optimization.

This makes it only run once in a (Thin)LTO pipeline during postlink, just like all the other optimization pipeline passes.

Diff Detail

Event Timeline

aeubanks created this revision.Feb 6 2023, 11:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 6 2023, 11:06 AM
aeubanks requested review of this revision.Feb 6 2023, 11:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 6 2023, 11:06 AM
xur added a comment.Feb 6 2023, 9:29 PM

I think this is the reasonable place for CHR.
With this we will do a lot less CHR, we need to run a performance test to ensure there is no regression.

xur accepted this revision.Feb 16 2023, 9:56 AM

I did a perf test and I think this is fine. LGTM.

This revision is now accepted and ready to land.Feb 16 2023, 9:56 AM
This revision was landed with ongoing or failed builds.Feb 16 2023, 3:23 PM
This revision was automatically updated to reflect the committed changes.