================
@@ -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())
----------------
shawbyoung wrote:

This pruning resulted in a tangible increase in 1:1 mappings btw profile and 
binary pseudo probes - the PseudoProbeDecoder::ProbeMap interface not only 
contains the probe attached to some block b, but contains the block probes 
attached to block b inlined in other functions.

https://github.com/llvm/llvm-project/pull/99891
_______________________________________________
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