[PATCH] D149345: [Utils] Added the ability to print the pass number and IR after it is triggered

Dmitry Bakunevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 23 02:59:39 PDT 2023


dbakunevich marked an inline comment as done.
dbakunevich added inline comments.


================
Comment at: llvm/lib/Passes/StandardInstrumentations.cpp:772
+  if (shouldPrintPassNumbers())
+    dbgs() << " Running pass " << CurrentPassNumber << " " << PassID << "\n";
+
----------------
aeubanks wrote:
> aeubanks wrote:
> > extra space?
> ditto for the one in printAfterPass, but actually shouldn't this go in printBeforePass?
No, this logic should be near with PrintAtPassNumber.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149345/new/

https://reviews.llvm.org/D149345



More information about the llvm-commits mailing list