[llvm] [llvm-profgen] Improve sample profile density (PR #92144)
Lei Wang via llvm-commits
llvm-commits at lists.llvm.org
Fri May 17 11:35:02 PDT 2024
================
@@ -83,6 +83,10 @@ static cl::opt<double> HotFunctionDensityThreshold(
static cl::opt<bool> ShowDensity("show-density", llvm::cl::init(false),
llvm::cl::desc("show profile density details"),
llvm::cl::Optional);
+static cl::opt<int> ProfileDensityHotFuncCutOff(
+ "profile-density-hot-func-cutoff", llvm::cl::init(990000),
----------------
wlei-llvm wrote:
This is just to in case people only want to tune the the profile density threshold(like to reduce the noise) but not the `ProfileSummaryCutoffHot` which will affect the profile generation(pre-inliner).
https://github.com/llvm/llvm-project/pull/92144
More information about the llvm-commits
mailing list