[PATCH] D82205: InlineCost - method ::print() to allow dump of statistics to non-debug builds
Mircea Trofin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 22 11:49:30 PDT 2020
mtrofin added inline comments.
================
Comment at: llvm/lib/Analysis/InlineCost.cpp:2175
+void InlineCostCallAnalyzer::print() {
+#define DEBUG_PRINT_STAT(x) dbgs() << " " #x ": " << x << "\n"
+ if (PrintInstructionComments)
----------------
maybe I'm missing something, but why not just call print() from dump() ?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82205/new/
https://reviews.llvm.org/D82205
More information about the llvm-commits
mailing list