This is an archive of the discontinued LLVM Phabricator instance.

[PM] Show the pass argument in pre/post-pass IR dumps
ClosedPublic

Authored by nlguillemot on Feb 25 2021, 1:54 PM.

Details

Summary

This patch adds each pass' pass argument in the header for IR dumps.
For example:

Before:

*** IR Dump Before InstructionSelect ***

After:

*** IR Dump Before InstructionSelect (instruction-select) ***

The goal is to make it easier to know what argument to pass to
command line options like debug-only or run-pass to further
investigate a given pass.

Diff Detail

Event Timeline

nlguillemot created this revision.Feb 25 2021, 1:54 PM
nlguillemot requested review of this revision.Feb 25 2021, 1:54 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 25 2021, 1:54 PM
thegameg accepted this revision.Feb 25 2021, 1:59 PM

Thank you!

This revision is now accepted and ready to land.Feb 25 2021, 1:59 PM
nlguillemot closed this revision.Feb 25 2021, 5:52 PM