[llvm] [SampleFDO] Read call-graph matching recovered top-level function profile (PR #101053)

via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 19 22:51:35 PDT 2024


================
@@ -36,6 +36,12 @@ static cl::opt<unsigned> MinCallCountForCGMatching(
     cl::desc("The minimum number of call anchors required for a function to "
              "run stale profile call graph matching."));
 
+static cl::opt<bool> LoadFuncProfileforCGMatching(
+    "load-func-profile-for-cg-matching", cl::Hidden, cl::init(false),
+    cl::desc(
+        "Load top-level profiles that the sample reader initially skipped for "
+        "the call-graph matching(only meaningful for extended binary format)"));
----------------
WenleiHe wrote:

space before "("

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


More information about the llvm-commits mailing list