[llvm] [ctx_prof] Handle `select` and its `step` instrumentation (PR #109185)
Mircea Trofin via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 23 13:26:42 PDT 2024
================
@@ -324,12 +341,34 @@ class ProfileAnnotator final {
PB.addEntryCount(Counters[0]);
for (auto &BB : F) {
+ const auto &BBInfo = getBBInfo(BB);
+ if (BBInfo.getCount() > 0) {
+ for (auto &I : BB) {
----------------
mtrofin wrote:
done
https://github.com/llvm/llvm-project/pull/109185
More information about the llvm-commits
mailing list