[llvm] [BOLT] Hash-based function matching (PR #96572)
Maksim Panchenko via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 28 12:06:05 PDT 2024
================
@@ -128,6 +128,14 @@ cl::opt<bool>
cl::desc("instrument code to generate accurate profile data"),
cl::cat(BoltOptCategory));
+cl::opt<bool> Lite("lite", cl::desc("skip processing of cold functions"),
+ cl::cat(BoltCategory));
+
+cl::opt<bool>
+ MatchProfileWithFunctionHash("match-profile-with-function-hash",
+ cl::desc("Match profile with function hash"),
+ cl::Hidden, cl::cat(BoltCategory));
----------------
maksfb wrote:
The option can now be moved into `YAMLProfileReader.cpp`. To be consistent with the other option you are adding, change the category to `BoltOptCategory`.
https://github.com/llvm/llvm-project/pull/96572
More information about the llvm-commits
mailing list