[PATCH] D104129: [CSSPGO] Report zero-count probe in profile instead of dangling probes.
Hongtao Yu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 16 09:20:26 PDT 2021
hoy added a comment.
In D104129#2821245 <https://reviews.llvm.org/D104129#2821245>, @wlei wrote:
> Curious why we can remove the `moveAndDanglePseudoProbes`(don't need the concept of dangling)? My understanding is we treat dangling as unknown, at pass1 we need to pass this information to the profiled binary. An optimized-out probe won't have samples, it will be treated as zero if not marked as dangling.
We now use "missing" to represent dangling which is natural, and "missing" is different from zero. The counts inferencer will reason about counts for missing probes. We will flip the concept of dangling to real dead, and likely make a routine like `moveAndKillPseudoProbes`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104129/new/
https://reviews.llvm.org/D104129
More information about the llvm-commits
mailing list