aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-06-21 13:19:26 +0200
committerRichard Biener <rguenther@suse.de>2024-06-24 13:28:26 +0200
commit2f83ea87ee328d337f87d4430861221be9babe1e (patch)
tree2d4b2dfb6918f7f3d56e05ce0e239a54da56e467 /gcc/system.h
parent0de0476e47c774db21c94a75d60485a55ec7b5b4 (diff)
downloadgcc-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/system.h')
0 files changed, 0 insertions, 0 deletions