[llvm] [PGO][profcheck] ignore explicitly cold functions (PR #151778)

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 2 08:41:54 PDT 2025


================
@@ -20,8 +20,12 @@
 #include "llvm/IR/MDBuilder.h"
 #include "llvm/IR/ProfDataUtils.h"
 #include "llvm/Support/BranchProbability.h"
+#include "llvm/Support/CommandLine.h"
 
 using namespace llvm;
+static cl::opt<int64_t>
+    DefaultFunctionEntryCount("profcheck-default-fct-entry-count",
----------------
mtrofin wrote:

lol yes

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


More information about the llvm-commits mailing list