[Bug target/110649] [14 Regression] 25% sphinx3 spec2006 regression on Ice Lake and zen between g:acaa441a98bebc52 (2023-07-06 11:36) and g:55900189ab517906 (2023-07-07 00:23)
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jul 16 21:54:23 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110649
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jan Hubicka <hubicka@gcc.gnu.org>:
https://gcc.gnu.org/g:1d203d4c90adb064edfa9680768d1f83a41f17e0
commit r14-2544-g1d203d4c90adb064edfa9680768d1f83a41f17e0
Author: Jan Hubicka <jh@suse.cz>
Date: Sun Jul 16 23:53:56 2023 +0200
Avoid double profile udpate in try_peel_loop
try_peel_loop uses gimple_duplicate_loop_body_to_header_edge which
subtracts the profile
from the original loop. However then it tries to scale the profile in a
wrong way
(it forces header count to be entry count).
This eliminates to profile misupdates in the internal loop of sphinx3.
gcc/ChangeLog:
PR middle-end/110649
* tree-ssa-loop-ivcanon.cc (try_peel_loop): Avoid double profile
update.
More information about the Gcc-bugs
mailing list