[llvm-branch-commits] [llvm] [BOLT] Match blocks with pseudo probes (PR #99891)
Amir Ayupov via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jul 23 12:07:49 PDT 2024
================
@@ -555,6 +574,10 @@ size_t matchWeightsByHashes(
ProbeMap.lower_bound(FuncAddr + BlockRange.second));
for (const auto &[_, Probes] : BlockProbes) {
for (const MCDecodedPseudoProbe &Probe : Probes) {
+ if (Probe.getInlineTreeNode()->hasInlineSite())
----------------
aaupov wrote:
What do we prune with this check? Don't we discard valid probes belonging to the current function?
https://github.com/llvm/llvm-project/pull/99891
More information about the llvm-branch-commits
mailing list