This is an archive of the discontinued LLVM Phabricator instance.

[NewPM] Add options to PrintPassInstrumentation
ClosedPublic

Authored by aeubanks on May 10 2021, 2:00 PM.

Details

Summary

To bring D99599's implementation in line with the existing
PrintPassInstrumentation, and to fix a FIXME, add more customizability
to PrintPassInstrumentation.

Introduce three new options. The first takes over the existing
"-debug-pass-manager-verbose" cl::opt.

The second and third option are specific to -fdebug-pass-structure. They
allow indentation, and also don't print analysis queries.

To avoid more golden file tests than necessary, prune down the
-fdebug-pass-structure tests.

Diff Detail

Event Timeline

aeubanks created this revision.May 10 2021, 2:00 PM
aeubanks requested review of this revision.May 10 2021, 2:00 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
aeubanks edited reviewers, added: asbirlea, ychen, evgeny777; removed: jdoerfert.May 10 2021, 2:03 PM
aeubanks updated this revision to Diff 344201.May 10 2021, 2:07 PM

assert Indent >= 0

Matt added a subscriber: Matt.May 14 2021, 8:23 AM
asbirlea accepted this revision.May 18 2021, 4:25 PM
This revision is now accepted and ready to land.May 18 2021, 4:25 PM
This revision was landed with ongoing or failed builds.May 18 2021, 8:59 PM
This revision was automatically updated to reflect the committed changes.