diff options
author | Jan Hubicka <jh@suse.cz> | 2023-07-27 15:58:52 +0200 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2023-07-27 15:58:52 +0200 |
commit | 5b06b3b8771d0dc06426986be32b8599e97bb451 (patch) | |
tree | f7590fbe8766ab3e6bf9dd7acc200f21e7fb5277 /include/dwarf2.h | |
parent | 499b8079a6419bb8082de062ec30772296c6700c (diff) | |
download | gcc-5b06b3b8771d0dc06426986be32b8599e97bb451.zip gcc-5b06b3b8771d0dc06426986be32b8599e97bb451.tar.gz gcc-5b06b3b8771d0dc06426986be32b8599e97bb451.tar.bz2 |
Fix profile update in tree-ssa-loop-im.cc
This fixes two bugs in tree-ssa-loop-im.cc. First is that cap probability is not
reliable, but it is constructed with adjusted quality. Second is that sometimes
the conditional has wrong joiner BB count. This is visible on
testsuite/gcc.dg/pr102385.c however the testcase triggers another profile
update bug in pcom, so I will update it in followup patch.
gcc/ChangeLog:
* tree-ssa-loop-im.cc (execute_sm_if_changed): Turn cap probability
to guessed; fix count of new_bb.
Diffstat (limited to 'include/dwarf2.h')
0 files changed, 0 insertions, 0 deletions