This is an archive of the discontinued LLVM Phabricator instance.

[LTO][NPM] Default to using NPM under ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER
ClosedPublic

Authored by aeubanks on Dec 8 2020, 3:21 PM.

Details

Summary

This affects users of LTO that don't explicitly set UseNewPM.

Diff Detail

Event Timeline

aeubanks created this revision.Dec 8 2020, 3:21 PM
aeubanks requested review of this revision.Dec 8 2020, 3:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 8 2020, 3:21 PM
MaskRay accepted this revision.Dec 8 2020, 11:04 PM

This will not give users a way to switch back to the legacy pass manager. We should add a linker option first (D92916), then teach ToolChains/CommonArgs.cpp to pass the option, finally we can do this. So please hold off on this a bit :)

This revision is now accepted and ready to land.Dec 8 2020, 11:04 PM
This revision was landed with ongoing or failed builds.Dec 9 2020, 5:49 PM
This revision was automatically updated to reflect the committed changes.