[llvm-branch-commits] [llvm] [BOLT] Add profile density computation (PR #101094)

Amir Ayupov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jul 30 09:48:34 PDT 2024


================
@@ -223,6 +223,22 @@ static cl::opt<unsigned> TopCalledLimit(
              "functions section"),
     cl::init(100), cl::Hidden, cl::cat(BoltCategory));
 
+// Profile density options, synced with llvm-profgen/ProfileGenerator.cpp
+static cl::opt<bool> ShowDensity("show-density", cl::init(false),
----------------
aaupov wrote:

Let's keep it disabled by default until we find good threshold value.

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


More information about the llvm-branch-commits mailing list