diff options
author | Richard Biener <rguenther@suse.de> | 2021-07-14 11:06:58 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-07-14 12:31:42 +0200 |
commit | a967a3efd39280fe3f5774e45490e991f8e99059 (patch) | |
tree | 5d8652e56e7c6b696818e551a8972ca834822433 /gcc/tree-vect-loop.c | |
parent | 3be762c2ed79e36b9c8faaea2be04725c967a34e (diff) | |
download | gcc-a967a3efd39280fe3f5774e45490e991f8e99059.zip gcc-a967a3efd39280fe3f5774e45490e991f8e99059.tar.gz gcc-a967a3efd39280fe3f5774e45490e991f8e99059.tar.bz2 |
tree-optimization/101445 - fix negative stride SLP vect with gaps
The following fixes the IV adjustment for the gap in a negative
stride SLP vectorization. The adjustment was in the wrong direction,
now fixes as in the patch.
2021-07-14 Richard Biener <rguenther@suse.de>
PR tree-optimization/101445
* tree-vect-stmts.c (vectorizable_load): Do the gap adjustment
of the IV in the correct direction for negative stride
accesses.
* gcc.dg/vect/pr101445.c: New testcase.
Diffstat (limited to 'gcc/tree-vect-loop.c')
0 files changed, 0 insertions, 0 deletions