[llvm] [BOLT]Improve profile quality reporting (PR #130810)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 17 12:27:24 PDT 2025
================
@@ -187,8 +188,10 @@ void printCallGraphFlowConservationStats(
std::vector<double> CallGraphGaps;
for (const BinaryFunction *Function : Functions) {
- if (Function->size() <= 1 || !Function->isSimple())
+ if (Function->size() <= 1 || !Function->isSimple()) {
----------------
ShatianWang wrote:
They do currently participate in the call graph flow conservation gap, because the function calls made by non-simple functions are used to construct `CallGraphIncomingFlows` in function `computeFlowMappings`.
We are skipping them here because I don't think we have a way to accurately get the net entry block CFG outflow for all non-simple functions.
https://github.com/llvm/llvm-project/pull/130810
More information about the llvm-commits
mailing list