[llvm] [BOLT] Profile quality stats -- CFG discontinuity (PR #109683)

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 1 18:23:27 PDT 2024


================
@@ -154,6 +155,11 @@ static cl::opt<bool>
                       cl::desc("print profile quality/bias analysis"),
                       cl::cat(BoltCategory));
 
+static cl::opt<bool> PrintContinuityStats(
+    "print-continuity-stats",
+    cl::desc("print profile function CFG continuity stats"),
+    cl::cat(BoltCategory));
----------------
maksfb wrote:

If the pass has low overhead and prints a single line by default, I suggest we enable it by default and drop the option. Make sure it doesn't print anything when there is no profile available.

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


More information about the llvm-commits mailing list