[PATCH] D96811: [CSSPGO][llvm-profgen] Change sample count of dangling probe in llvm-profgen
Wenlei He via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 16 21:27:40 PST 2021
wenlei added inline comments.
================
Comment at: llvm/tools/llvm-profgen/ProfileGenerator.cpp:505
+
FunctionProfile.addTotalSamples(Count);
if (Probe->isEntry()) {
----------------
Do we still want to count samples on dangling probe towards total samples? Without deduplication for dangling probes, we could have multiple dangling probes in the same block and counting samples covering these probe repeatedly may cause bloated total samples?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96811/new/
https://reviews.llvm.org/D96811
More information about the llvm-commits
mailing list