[llvm] [llvm-profgen] Improve sample profile density (PR #92144)
via llvm-commits
llvm-commits at lists.llvm.org
Wed May 22 13:39:41 PDT 2024
================
@@ -75,14 +75,19 @@ static cl::opt<int, true> CSProfMaxContextDepth(
"depth limit."),
cl::location(llvm::sampleprof::CSProfileGenerator::MaxContextDepth));
-static cl::opt<double> HotFunctionDensityThreshold(
- "hot-function-density-threshold", llvm::cl::init(1000),
+static cl::opt<double> ProfileDensityThreshold(
+ "profile-density-threshold", llvm::cl::init(20),
----------------
WenleiHe wrote:
As discussed, perhaps make it 50 to be safer.
https://github.com/llvm/llvm-project/pull/92144
More information about the llvm-commits
mailing list