[llvm-branch-commits] [llvm] [BOLT] Match blocks with pseudo probes (PR #99891)
Shaw Young via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Jul 24 09:57:03 PDT 2024
================
@@ -206,13 +213,30 @@ class StaleMatcher {
CallHashToBlocks[CallHashes[I]].push_back(
std::make_pair(Hashes[I], Block));
}
+ this->IndexToBBPseudoProbes = IndexToBBPseudoProbes;
+ this->BBPseudoProbeToBlock = BBPseudoProbeToBlock;
+ this->YamlBFGUID = YamlBFGUID;
----------------
shawbyoung wrote:
Made some changes to the stale matcher class in response to this - added a constructor and some setters. Might want to follow up in a separate PR and make similar NFC changes to OpHashToBlocks and CallHashToBlocks. Let me know what you think.
https://github.com/llvm/llvm-project/pull/99891
More information about the llvm-branch-commits
mailing list