[llvm] [BOLT] Hash-based function matching (PR #96572)

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 28 10:34:39 PDT 2024


================
@@ -2982,6 +2981,9 @@ void RewriteInstance::selectFunctionsToProcess() {
     if (mustSkip(Function))
       return false;
 
+    if (opts::MatchProfileWithFunctionHash)
+      return true;
+
----------------
maksfb wrote:

Why does it have to be done in DataAggregator::mayHaveProfileData()?

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


More information about the llvm-commits mailing list