[PATCH] D80711: Utility to dump .dot representation of SelectionDAG without firing viewer
Madhur Amilkanthwar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat May 30 21:46:02 PDT 2020
madhur13490 marked an inline comment as done.
madhur13490 added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp:178-179
+#else
+ errs() << "SelectionDAG::DumpDotGraph is only available in debug builds or "
+ << "when LLVM_ENABLE_DUMP is ON.\n";
+#endif // NDEBUG
----------------
arsenm wrote:
> I think having anything here defeats the point of having a compile time way to remove the function. The function should not be present in the build at all without LLVM_ENABLE_DUMP
Yes, done.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80711/new/
https://reviews.llvm.org/D80711
More information about the llvm-commits
mailing list