This is an archive of the discontinued LLVM Phabricator instance.

[LegacyPM] Remove cl::opts controlling optimization pass manager passes
ClosedPublic

Authored by aeubanks on Nov 13 2022, 2:56 PM.

Details

Summary

Move these to the new PM if they're used there.

Part of removing the legacy pass manager for optimization pipeline.

Diff Detail

Event Timeline

aeubanks created this revision.Nov 13 2022, 2:56 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
aeubanks requested review of this revision.Nov 13 2022, 2:56 PM
MaskRay accepted this revision.Nov 13 2022, 4:05 PM
MaskRay added inline comments.
llvm/lib/Passes/PassBuilderPipelines.cpp
302

Remove , cl::init(false)

326

Delete trailing dot from descriptions.

This revision is now accepted and ready to land.Nov 13 2022, 4:05 PM
aeubanks updated this revision to Diff 475027.Nov 13 2022, 4:18 PM

remove trailing "." in descriptions

I think cl::init(false) is much easier to understand, but is inconsistently applied, don't mess with it

This revision was landed with ongoing or failed builds.Nov 14 2022, 9:25 AM
This revision was automatically updated to reflect the committed changes.

thx for quick fix, much appreciated. love the color green!

This revision is now accepted and ready to land.Nov 18 2022, 1:46 AM

I'm not exactly sure why this caused that to break , but cff6d125fb330e8d53429ac9d2f67d24e3ab866b works around the issue

aeubanks closed this revision.Nov 18 2022, 1:48 PM