[llvm] [llvm-profgen] Improve sample profile density (PR #92144)
via llvm-commits
llvm-commits at lists.llvm.org
Fri May 17 18:40:22 PDT 2024
================
@@ -76,13 +76,16 @@ static cl::opt<int, true> CSProfMaxContextDepth(
cl::location(llvm::sampleprof::CSProfileGenerator::MaxContextDepth));
static cl::opt<double> HotFunctionDensityThreshold(
- "hot-function-density-threshold", llvm::cl::init(1000),
- llvm::cl::desc(
- "specify density threshold for hot functions (default: 1000)"),
+ "hot-function-density-threshold", llvm::cl::init(20),
----------------
WenleiHe wrote:
Can you share some date to show that 20 is a good threshold?
https://github.com/llvm/llvm-project/pull/92144
More information about the llvm-commits
mailing list