diff options
author | Richard Biener <rguenther@suse.de> | 2021-08-30 12:56:26 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-08-30 14:03:56 +0200 |
commit | 89f33f44addbf9853bc3e6677db1fa941713cb6c (patch) | |
tree | 879065a3fa94ab9273351771794aecbd4dbf3fc3 /libdecnumber | |
parent | 1313111fdec0d0de4228b5e839ca728b3e4b106e (diff) | |
download | gcc-89f33f44addbf9853bc3e6677db1fa941713cb6c.zip gcc-89f33f44addbf9853bc3e6677db1fa941713cb6c.tar.gz gcc-89f33f44addbf9853bc3e6677db1fa941713cb6c.tar.bz2 |
tree-optimization/102128 - rework if-converted BB vect heuristic
This reworks the previous attempt to avoid leaving around if-converted
scalar code in BB vectorized loop bodies to keep costing independent
subgraphs which should address the observed regression with 519.lbm_r.
For this to work we now first cost all subgraphs and only after
doing that proceed to emit vectorized code.
2021-08-30 Richard Biener <rguenther@suse.de>
PR tree-optimization/102128
* tree-vect-slp.c (vect_bb_vectorization_profitable_p):
Move scanning for if-converted scalar code to the caller
and instead delay clearing the visited flag for profitable
subgraphs.
(vect_slp_region): Cost all subgraphs before scheduling.
For if-converted BB vectorization scan for scalar COND_EXPRs
and do not vectorize if any found and the cost model is
very-cheap.
Diffstat (limited to 'libdecnumber')
0 files changed, 0 insertions, 0 deletions