[PATCH] D113492: [llvm-profgen] Fix bug of split range branch sample
Hongtao Yu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 10 23:01:42 PST 2021
hoy added inline comments.
================
Comment at: llvm/tools/llvm-profgen/ProfiledBinary.cpp:355
if (!FuncRange->IsFuncEntry && FuncRange->getFuncName() == RangeSymName)
FuncRange->IsFuncEntry = true;
}
----------------
Can the flag be set here based on `FuncRange->Func->Ranges.size() == 1` instead?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113492/new/
https://reviews.llvm.org/D113492
More information about the llvm-commits
mailing list