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

Amir Ayupov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Oct 24 12:55:30 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:

Reenabled by default with threshold=50

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


More information about the llvm-branch-commits mailing list