[PATCH] D115013: [llvm-profgen] Fix total samples related issues
Hongtao Yu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 3 17:00:26 PST 2021
hoy added inline comments.
================
Comment at: llvm/tools/llvm-profgen/ProfileGenerator.cpp:500
+ FunctionSamples &FunctionProfile = getLeafProfileAndAddTotalSamples(
+ FrameVec, Count * Binary->getInstSize(Offset));
updateBodySamplesforFunctionProfile(FunctionProfile, FrameVec.back(),
----------------
This doesn't really makes sense. Wondering how much it matters, compared to other places that affect total samples.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115013/new/
https://reviews.llvm.org/D115013
More information about the llvm-commits
mailing list