re PR tree-optimization/90911 (456.hmmer regression with r272239)
authorRichard Biener <rguenther@suse.de>
Thu, 4 Jul 2019 13:55:15 +0000 (13:55 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 4 Jul 2019 13:55:15 +0000 (13:55 +0000)
commit5cee32399049534903f3ddb0bf55657b909492f4
tree17ab89e8de21203b0ece5a305b55f5e21cee285b
parent5bb8f28194ee8271357051441db27decbd74d5c5
re PR tree-optimization/90911 (456.hmmer regression with r272239)

2019-07-04  Richard Biener  <rguenther@suse.de>

PR tree-optimization/90911
* tree-vectorizer.h (_loop_vec_info::scalar_loop_scaling): New field.
(LOOP_VINFO_SCALAR_LOOP_SCALING): new.
* tree-vect-loop.c (_loop_vec_info::_loop_vec_info): Initialize
scalar_loop_scaling.
(vect_transform_loop): Scale scalar loop profile if needed.
* tree-vect-loop-manip.c (vect_loop_versioning): When re-using
the loop copy from if-conversion adjust edge probabilities
and scale the vectorized loop body profile, queue the scalar
profile for updating after peeling.

From-SVN: r273082
gcc/ChangeLog
gcc/tree-vect-loop-manip.c
gcc/tree-vect-loop.c
gcc/tree-vectorizer.h