diff options
author | Richard Biener <rguenther@suse.de> | 2024-03-05 15:28:58 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2024-06-06 08:55:56 +0200 |
commit | 2ee41ef76a99ef5a8b62b351e2c01dad93f51b18 (patch) | |
tree | ac33e2cdc48cf43b7d00b94861121ddfe66527b2 /libgfortran/configure | |
parent | 202a9c8fe7db9dd94e5a77f42e54ef3d966f88e8 (diff) | |
download | gcc-2ee41ef76a99ef5a8b62b351e2c01dad93f51b18.zip gcc-2ee41ef76a99ef5a8b62b351e2c01dad93f51b18.tar.gz gcc-2ee41ef76a99ef5a8b62b351e2c01dad93f51b18.tar.bz2 |
Add double reduction support for SLP vectorization
The following makes double reduction vectorization work when
using (single-lane) SLP vectorization.
* tree-vect-loop.cc (vect_analyze_scalar_cycles_1): Queue
double reductions in LOOP_VINFO_REDUCTIONS.
(vect_create_epilog_for_reduction): Remove asserts disabling
SLP for double reductions.
(vectorizable_reduction): Analyze SLP double reductions
only once and start off the correct places.
* tree-vect-slp.cc (vect_get_and_check_slp_defs): Allow
vect_double_reduction_def.
(vect_build_slp_tree_2): Fix condition for the ignored
reduction initial values.
* tree-vect-stmts.cc (vect_analyze_stmt): Allow
vect_double_reduction_def.
Diffstat (limited to 'libgfortran/configure')
0 files changed, 0 insertions, 0 deletions