[PATCH] D120335: [llvm-profgen] Generating probe-based non-CS profile.
Lei Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 28 16:31:38 PST 2022
wlei added inline comments.
================
Comment at: llvm/tools/llvm-profgen/ProfileGenerator.cpp:944
+ // doesn't belong to current context, filter them out.
+ if (!Probe->isBlock() || Count == 0)
+ continue;
----------------
`Probe.isBlock()` check is hoisted from `extractProbesFromRange` to this for CS profile but Why doesn't add this check back for non-CS profile?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120335/new/
https://reviews.llvm.org/D120335
More information about the llvm-commits
mailing list