[PATCH] D108298: [NPM] Print '-passes' compatible string for built pipeline.

Markus Lavin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 26 05:32:01 PDT 2021


markus added inline comments.


================
Comment at: llvm/include/llvm/IR/PassManager.h:392
+    } else {
+      OS << "NO-PASSNAME-FOR(" << ClassName << ")";
+    }
----------------
Ideally there should not be any passes that lack a mapping but for those that do it seems safer to print something so that it does not go unnoticed.


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

https://reviews.llvm.org/D108298



More information about the llvm-commits mailing list