[llvm] [ICP] Introduce a hot function cutoff threshold for ICP (PR #208060)
Congzhe Cao via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 28 21:17:15 PDT 2026
================
@@ -160,6 +161,12 @@ static cl::list<std::string> ICPIgnoredBaseTypes(
"binary could be different due to profiling limitations. Type info "
"names are those string literals used in LLVM type metadata"));
+static cl::opt<int> HotFuncCutoffForICP(
+ "hot-func-cutoff-for-icp", cl::Hidden, cl::init(-1),
+ cl::desc("A count is hot for indirect call promotion if it exceeds "
+ "the minimum count to reach this percentile of total counts."
----------------
CongzheUalberta wrote:
Thanks, I’ve updated the description here.
https://github.com/llvm/llvm-project/pull/208060
More information about the llvm-commits
mailing list