aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-range.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2023-07-16 23:53:56 +0200
committerJan Hubicka <jh@suse.cz>2023-07-16 23:53:56 +0200
commit1d203d4c90adb064edfa9680768d1f83a41f17e0 (patch)
treea84977faaec69674e0a3573d3fac2df02a283ef4 /gcc/value-range.h
parentd76d19c9bc5ef1138af65fa3546eb628b7a756c9 (diff)
downloadgcc-1d203d4c90adb064edfa9680768d1f83a41f17e0.zip
gcc-1d203d4c90adb064edfa9680768d1f83a41f17e0.tar.gz
gcc-1d203d4c90adb064edfa9680768d1f83a41f17e0.tar.bz2
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.
Diffstat (limited to 'gcc/value-range.h')
0 files changed, 0 insertions, 0 deletions