aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/iresolve.cc
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2025-05-28 14:26:11 +0200
committerJan Hubicka <hubicka@ucw.cz>2025-05-28 14:26:11 +0200
commit17f7b6250628c31182fd4f71c9ecdeca9568ffd1 (patch)
treeb1dc53589735af50708418988c7ba23f9541c27e /gcc/fortran/iresolve.cc
parenta4dc4001999a8b504cde468618af12c9b870589b (diff)
downloadgcc-17f7b6250628c31182fd4f71c9ecdeca9568ffd1.zip
gcc-17f7b6250628c31182fd4f71c9ecdeca9568ffd1.tar.gz
gcc-17f7b6250628c31182fd4f71c9ecdeca9568ffd1.tar.bz2
Handle auto-fdo 0 more carefully
This patch fixes few other places where auto-fdo 0 should be be treated as actual 0 (i.e. probably never executed). Overall I think we should end up combining static profile with auto-fdo profile where auto-fdo has 0 counts, but that is something that should be benchmarked and first it is neccessary to get something benchmarkeable out of auto-FDO. gcc/ChangeLog: * cgraph.cc (cgraph_edge::maybe_hot_p): For auto-fdo turn 0 to non-zero. * ipa-cp.cc (cs_interesting_for_ipcp_p): Do not trust auto-fdo 0. * profile-count.cc (profile_count::adjust_for_ipa_scaling): Likewise. (profile_count::from_gcov_type): Fix formating.
Diffstat (limited to 'gcc/fortran/iresolve.cc')
0 files changed, 0 insertions, 0 deletions