[compiler-rt] [llvm] [llvm-profdata] Add block percent to detailed summary (PR #105915)

Ellis Hoag via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 23 20:37:48 PDT 2024


================
@@ -251,17 +251,18 @@ ProfileSummary *ProfileSummary::getFromMD(Metadata *MD) {
 void ProfileSummary::printSummary(raw_ostream &OS) const {
   OS << "Total functions: " << NumFunctions << "\n";
   OS << "Maximum function count: " << MaxFunctionCount << "\n";
-  OS << "Maximum block count: " << MaxCount << "\n";
+  OS << "Maximum internal block count: " << MaxInternalCount << "\n";
----------------
ellishg wrote:

I also changed the behavior here to dump `MaxInternalCount` instead of `MaxCount` because I think it requires fewer test changes. But I'm also open to changing this or including both logs.

https://github.com/llvm/llvm-project/pull/105915


More information about the llvm-commits mailing list