diff options
author | Richard Biener <rguenther@suse.de> | 2020-06-25 12:47:20 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2020-06-25 15:56:06 +0200 |
commit | 628b78f9794a2eefcbc578011806bfa8e09b9ef7 (patch) | |
tree | 5773155caa47cfcec12e00f2a4edd263437174e9 /gcc/fortran/resolve.c | |
parent | 8005a3e4e7a643ff78086081a3385775924fe828 (diff) | |
download | gcc-628b78f9794a2eefcbc578011806bfa8e09b9ef7.zip gcc-628b78f9794a2eefcbc578011806bfa8e09b9ef7.tar.gz gcc-628b78f9794a2eefcbc578011806bfa8e09b9ef7.tar.bz2 |
tree-optimization/95839 - allow CTOR vectorization without loads
This removes a premature check for enough datarefs in a basic-block
before we consider vectorizing it which leaves basic-blocks with
just vectorizable vector constructors unvectorized. The check
is effectively done by the following check for store groups
which then also include constructors.
2020-06-25 Richard Biener <rguenther@suse.de>
PR tree-optimization/95839
* tree-vect-slp.c (vect_slp_analyze_bb_1): Remove premature
check on the number of datarefs.
* gcc.dg/vect/bb-slp-pr95839.c: New testcase.
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions