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

Since we're forcing the processing of all functions here to construct CFG and 
compute hashes, let's also mark functions without profile as ignored in Lite 
mode. 
This should happen after we assign profile, at the end of 
YAMLProfileReader::readProfile. Under the new option, go over all functions and 
check if the function has profile, if not, mark it ignored.

https://github.com/llvm/llvm-project/pull/95821
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to