This is an archive of the discontinued LLVM Phabricator instance.

[cmake] Remove LLVM_USE_NEWPM option
ClosedPublic

Authored by aeubanks on Apr 1 2022, 4:42 PM.

Details

Summary

This option tells the host clang to use the new pass manager.
Given that it's been the default for a while, this seems unnecessary.

This was added in D57068.

(this does not affect any LLVM/Clang functionality)

Diff Detail

Event Timeline

aeubanks created this revision.Apr 1 2022, 4:42 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: mgorny. · View Herald Transcript
aeubanks requested review of this revision.Apr 1 2022, 4:42 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 1 2022, 4:42 PM
aeubanks edited the summary of this revision. (Show Details)Apr 1 2022, 4:43 PM
aeubanks added a reviewer: phosek.
MaskRay accepted this revision.Apr 1 2022, 5:03 PM

LGTM. Users should just specify LLVM_ENABLE_NEW_PASS_MANAGER.

This revision is now accepted and ready to land.Apr 1 2022, 5:03 PM
This revision was landed with ongoing or failed builds.Apr 1 2022, 8:25 PM
This revision was automatically updated to reflect the committed changes.