[PATCH] D87216: [NewPM] Support --print-before/after in NPM

Arthur Eubanks via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 7 19:22:48 PST 2021


aeubanks added inline comments.


================
Comment at: llvm/lib/Passes/PassBuilder.cpp:462
+      if (!PIC->hasPassName(P))
+        report_fatal_error("unrecognized pass name: " + P);
+    }
----------------
hoy wrote:
> @aeubanks This seems not working with MIR passes under newpm. Would it make sense to issue a warning instead to unblock that? Thanks.
That's a good point, I'll do that.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87216



More information about the cfe-commits mailing list