[all-commits] [llvm/llvm-project] ce2b3c: [BOLT] Improve profile quality reporting (#130810)
ShatianWang via All-commits
all-commits at lists.llvm.org
Tue Apr 22 12:43:09 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ce2b3ce3b6f707b8941dcdbf2c3a9be9fe5fa01b
https://github.com/llvm/llvm-project/commit/ce2b3ce3b6f707b8941dcdbf2c3a9be9fe5fa01b
Author: ShatianWang <38512325+ShatianWang at users.noreply.github.com>
Date: 2025-04-22 (Tue, 22 Apr 2025)
Changed paths:
M bolt/lib/Passes/ProfileQualityStats.cpp
A bolt/test/X86/profile-quality-reporting-small-binary.s
M bolt/test/X86/profile-quality-reporting.test
Log Message:
-----------
[BOLT] Improve profile quality reporting (#130810)
Improve profile quality reporting by 1) fixing a format issue for small
binaries, 2) adding new stats for exception handling usage, 3) excluding
selected blocks when computing the CFG flow conservation score.
More specifically for 3), we are excluding blocks that satisfy at least
one of the following characteristics: a) is a landing pad, b) has at
least one landing pad with non-zero execution counts, c) ends with a
recursive call. The reason for a) and b) is because the thrower -->
landing pad edges are not explicitly represented in the CFG. The reason
for c) is because the call-continuation fallthrough edge count is not
important in case of recursive calls.
Modified test `bolt/test/X86/profile-quality-reporting.test`.
Added test `bolt/test/X86/profile-quality-reporting-small-binary.s`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list