This is an archive of the discontinued LLVM Phabricator instance.

[llvm-lto] Remove support for legacy pass manager
ClosedPublic

Authored by nikic on Apr 8 2022, 3:32 AM.

Details

Summary

This removes support for the legacy pass manager in llvm-lto and llvm-lto2. In this case I've dropped the use-new-pm option entirely, as I don't think this is considered part of the public interface.

This also makes -debug-pass-manager work with llvm-lto, because that was needed to migrate some tests to NewPM.

Diff Detail

Event Timeline

nikic created this revision.Apr 8 2022, 3:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 8 2022, 3:32 AM
nikic requested review of this revision.Apr 8 2022, 3:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 8 2022, 3:32 AM
aeubanks accepted this revision.Apr 8 2022, 9:08 AM
This revision is now accepted and ready to land.Apr 8 2022, 9:08 AM
This revision was landed with ongoing or failed builds.Apr 11 2022, 12:40 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptApr 11 2022, 12:40 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript