This is an archive of the discontinued LLVM Phabricator instance.

[LegacyPM] Remove AttributorLegacyPass and AttributorCGSCCLegacyPass
Needs ReviewPublic

Authored by LiDongjin on Dec 1 2022, 4:41 AM.

Details

Summary

Using the legacy pass manager for the optimization pipeline is deprecated.
And remove -enable-new-pm flag.

Diff Detail

Event Timeline

LiDongjin created this revision.Dec 1 2022, 4:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 1 2022, 4:41 AM
LiDongjin requested review of this revision.Dec 1 2022, 4:41 AM
LiDongjin edited the summary of this revision. (Show Details)Dec 1 2022, 4:43 AM
LiDongjin updated this revision to Diff 479261.Dec 1 2022, 5:58 AM
LiDongjin updated this revision to Diff 479266.Dec 1 2022, 6:08 AM

Thanks for the patch. It's fine with me but there is a user of the Attribtutor still using old PM (in the backend).

@arsenm We are loosing test coverage here. What is needed to port your use case to the new PM?