[llvm] [BOLT] Hash-based function matching (PR #96572)
Maksim Panchenko via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 27 12:44:58 PDT 2024
================
@@ -2982,6 +2981,9 @@ void RewriteInstance::selectFunctionsToProcess() {
if (mustSkip(Function))
return false;
+ if (opts::MatchProfileWithFunctionHash)
+ return true;
+
----------------
maksfb wrote:
Can we instead modify `YAMLProfileReader::mayHaveProfileData()` to return `true` when `opts::MatchProfileWithFunctionHash` is set?
https://github.com/llvm/llvm-project/pull/96572
More information about the llvm-commits
mailing list