This is an archive of the discontinued LLVM Phabricator instance.

[opt] Cleanups related to legacy PM deprecation
ClosedPublic

Authored by bjope on Apr 12 2023, 2:07 AM.

Details

Summary

Remove dead code related to "FPasses". This was a leftover from
commit 7a5332b9b5584ce.

Do not mention -enable-new-pm in error messages. The option does
not exist any longer.

Remove the addPass helper. Only one use remained, so we can just
"inline" it manually to keep the code related to legacy PM a bit
less spread out.

Diff Detail

Event Timeline

bjope created this revision.Apr 12 2023, 2:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 12 2023, 2:07 AM
bjope requested review of this revision.Apr 12 2023, 2:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 12 2023, 2:07 AM
This revision was not accepted when it landed; it landed in state Needs Review.Apr 13 2023, 1:12 AM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.