[llvm-branch-commits] [llvm] [BOLT] Match blocks with pseudo probes (PR #99891)

Lei Wang via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jul 25 10:56:21 PDT 2024


================
@@ -116,6 +118,11 @@ cl::opt<unsigned> StaleMatchingCostJumpUnknownFTInc(
         "The cost of increasing an unknown fall-through jump count by one."),
     cl::init(3), cl::ReallyHidden, cl::cat(BoltOptCategory));
 
+cl::opt<bool> StaleMatchingWithBlockPseudoProbes(
+    "stale-matching-with-block-pseudo-probes",
+    cl::desc("Turns on stale matching with block pseudo probes."), cl::init(3),
----------------
wlei-llvm wrote:

`cl::init(3)` should it be bool value?

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


More information about the llvm-branch-commits mailing list