[PATCH] D127597: [InlineCost] Improve debugging experience by adding print about initial inlining cost

Dawid Jurczak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 12 05:21:38 PDT 2022


yurai007 added inline comments.


================
Comment at: llvm/lib/Analysis/InlineCost.cpp:981
 
+    LLVM_DEBUG(dbgs() << "      Initial cost: " << Cost << "\n");
+
----------------
It's not camel cased (in opposite to stats like NumConstantArgs) to indicate that's just normal debug print like "Analyzing call..." one.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127597



More information about the llvm-commits mailing list