[PATCH] D89476: [llc] Use -filetype=null to disable MIR printing

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 15 09:29:18 PDT 2020


MaskRay added inline comments.


================
Comment at: llvm/lib/CodeGen/LLVMTargetMachine.cpp:203
+  } else {
+    // The Null output is intended for use for performance analysis and testing,
+    // not real users.
----------------
Just say createPrintMIRPass is redundant for null output?

How much overhead have you measured?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89476



More information about the llvm-commits mailing list