aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/expr.cc
diff options
context:
space:
mode:
authorEugene Rozenfeld <erozen@microsoft.com>2022-04-26 14:28:16 -0700
committerEugene Rozenfeld <erozen@microsoft.com>2022-05-24 16:49:45 -0700
commit5af22024f62f1f596a35d3c138d41d47d5697ca0 (patch)
tree2b4c4c86a218027e940fd14a37318a0b0945c8bb /gcc/d/expr.cc
parent10d1986aee47c592f903527bb68546efc557735d (diff)
downloadgcc-5af22024f62f1f596a35d3c138d41d47d5697ca0.zip
gcc-5af22024f62f1f596a35d3c138d41d47d5697ca0.tar.gz
gcc-5af22024f62f1f596a35d3c138d41d47d5697ca0.tar.bz2
Fix profile count maintenance in vectorizer peeling.
This patch changes the code to save/restore profile counts for the epliog loop (when not using scalar loop in the epilog) instead of scaling them down and then back up, which may lead to problems if we scale down to 0. Tested on x86_64-pc-linux-gnu. gcc/ChangeLog: * tree-vect-loop-manip.cc (vect_do_peeling): Save/restore profile counts for the epilog loop.
Diffstat (limited to 'gcc/d/expr.cc')
0 files changed, 0 insertions, 0 deletions