[llvm-branch-commits] [BOLT][NFC] Refactor function matching (PR #97502)
Davide Italiano via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Jul 3 09:28:31 PDT 2024
================
@@ -73,13 +73,26 @@ class YAMLProfileReader : public ProfileReaderBase {
bool parseFunctionProfile(BinaryFunction &Function,
const yaml::bolt::BinaryFunctionProfile &YamlBF);
+ /// Returns block cnt equality if IgnoreHash is true, otherwise, hash equality
+ bool profileMatches(const yaml::bolt::BinaryFunctionProfile &Profile,
----------------
dcci wrote:
I think this comment talks about the implementation more than the definition. Can you rephrase it?
https://github.com/llvm/llvm-project/pull/97502
More information about the llvm-branch-commits
mailing list