]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix precise 0 handling in afdo_propagate_edge
authorJan Hubicka <hubicka@ucw.cz>
Fri, 26 Sep 2025 13:57:03 +0000 (15:57 +0200)
committerJan Hubicka <hubicka@ucw.cz>
Fri, 26 Sep 2025 13:57:31 +0000 (15:57 +0200)
commit40d9e9601a1122749b21b98b4c88029b2402ecfc
treee66065641caf2500bdf7b6ecff1b141f8fa3b094
parentfdc8037a592901a47fee51484a4830643f25aea7
Fix precise 0 handling in afdo_propagate_edge

Currently afdo_propagate_edge will turn precise 0 to autofdo 0 because it thinks
auto-profile claims some samples has been executed in the given basic block, while
this is only a consequence of < being defined by
 0 (predise) < 0 (autofdo)

gcc/ChangeLog:

* auto-profile.cc (afdo_propagate_edge): Fix handling of precize 0
counts.
gcc/auto-profile.cc