This is an archive of the discontinued LLVM Phabricator instance.

[docs] Add documentation on using the new pass manager
ClosedPublic

Authored by aeubanks on Feb 25 2021, 5:28 PM.
Tokens
"Like" token, awarded by miguelraz.

Details

Summary

And clarify in the "writing a pass" docs that both the legacy and new
PMs are being used for the codegen/optimization pipelines.

Diff Detail

Event Timeline

aeubanks requested review of this revision.Feb 25 2021, 5:28 PM
aeubanks created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 25 2021, 5:28 PM
aeubanks updated this revision to Diff 326562.Feb 25 2021, 5:39 PM

change writing a pass docs

aeubanks edited the summary of this revision. (Show Details)Feb 25 2021, 5:39 PM
aeubanks added reviewers: ychen, asbirlea.
ychen accepted this revision.Feb 25 2021, 6:36 PM

All looks very good to me. NewPassManager.rst is a great place to add more new pass manager details in the future, especially the trickier parts like analysis lifetime/invalidation, etc. Please let @asbirlea ack also.

This revision is now accepted and ready to land.Feb 25 2021, 6:36 PM
Matt added a subscriber: Matt.Feb 26 2021, 5:12 AM
Matt added inline comments.
llvm/docs/NewPassManager.rst
25

Typo: *a* function pass.

asbirlea accepted this revision.Feb 26 2021, 3:19 PM

Thank you for adding this, it was long overdue and it is well written!
LGTM.

This revision was automatically updated to reflect the committed changes.