This is an archive of the discontinued LLVM Phabricator instance.

[AVR] Register AVRFrameAnalyzer pass with the pass manager
Needs ReviewPublic

Authored by eugmes on Dec 5 2022, 12:00 PM.

Details

Reviewers
dylanmckay
Summary

This makes it possible to see the output from the pass
when using --print-after-all and other command line options.

Depends on D139352

Diff Detail

Event Timeline

eugmes created this revision.Dec 5 2022, 12:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 5 2022, 12:00 PM
eugmes requested review of this revision.Dec 5 2022, 12:00 PM
eugmes updated this revision to Diff 480199.Dec 5 2022, 12:13 PM

The pass description says that this an analyser pass, but it does not really look like that. And it is not getting run when marked so. In this version the pass is no longer marked as an analysis pass.

eugmes planned changes to this revision.Dec 6 2022, 2:37 AM

Apparently there is some more interaction with the pass manager that I don't understand.

eugmes updated this revision to Diff 480551.Dec 6 2022, 11:00 AM

Removed dependency on D139350. AVRFrameAnalyzer has it's own ID and so does not have the same problems as ISel Passes.