diff options
author | Richard Biener <rguenther@suse.de> | 2024-06-21 13:19:26 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2024-06-24 13:28:26 +0200 |
commit | 2f83ea87ee328d337f87d4430861221be9babe1e (patch) | |
tree | 2d4b2dfb6918f7f3d56e05ce0e239a54da56e467 /gcc/dwarf2codeview.cc | |
parent | 0de0476e47c774db21c94a75d60485a55ec7b5b4 (diff) | |
download | gcc-2f83ea87ee328d337f87d4430861221be9babe1e.zip gcc-2f83ea87ee328d337f87d4430861221be9babe1e.tar.gz gcc-2f83ea87ee328d337f87d4430861221be9babe1e.tar.bz2 |
tree-optimization/115528 - fix vect alignment analysis for outer loop vect
For outer loop vectorization of a data reference in the inner loop
we have to look at both steps to see if they preserve alignment.
What is special for this testcase is that the outer loop step is
one element but the inner loop step four and that we now use SLP
and the vectorization factor is one.
PR tree-optimization/115528
* tree-vect-data-refs.cc (vect_compute_data_ref_alignment):
Make sure to look at both the inner and outer loop step
behavior.
* gfortran.dg/vect/pr115528.f: New testcase.
Diffstat (limited to 'gcc/dwarf2codeview.cc')
0 files changed, 0 insertions, 0 deletions