[PATCH] D133055: [MachineFunctionPass] Support -filter-passes for -print-changed
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 1 09:37:55 PDT 2022
aeubanks accepted this revision.
aeubanks added a comment.
This revision is now accepted and ready to land.
lg with comments resolved
================
Comment at: llvm/lib/CodeGen/MachineFunctionPass.cpp:155
+ const char *Reason =
+ IsInterestingPass ? " omitted because no change" : " filtered out";
+ errs() << "*** IR Dump After " << getPassName();
----------------
`isFunctionInPrintList` should also use "filtered out"
================
Comment at: llvm/test/Other/print-changed-machine.ll:37
+
+; QUIET-FILTER: *** IR Dump After IRTranslator (irtranslator) on foo ***
+; QUIET-FILTER: *** IR Dump After IRTranslator (irtranslator) on bar ***
----------------
perhaps a `QUIET-FILTER-NOT: legalizer`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133055/new/
https://reviews.llvm.org/D133055
More information about the llvm-commits
mailing list