This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r278852 - in /trunk/gcc: ChangeLog testsuite/Ch...
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 29 Nov 2019 14:48:32 -0000
- Subject: r278852 - in /trunk/gcc: ChangeLog testsuite/Ch...
Author: rsandifo
Date: Fri Nov 29 14:48:30 2019
New Revision: 278852
URL: https://gcc.gnu.org/viewcvs?rev=278852&root=gcc&view=rev
Log:
Fix DR_GROUP_GAP for strided accesses (PR 92677)
When dissolving an SLP-only group of accesses, we should only set
the gap to group_size - 1 for normal non-strided groups.
2019-11-29 Richard Sandiford <richard.sandiford@arm.com>
gcc/
PR tree-optimization/92677
* tree-vect-loop.c (vect_dissolve_slp_only_groups): Set the gap
to zero when dissolving a group of strided accesses.
gcc/testsuite/
PR tree-optimization/92677
* gcc.dg/vect/pr92677.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/vect/pr92677.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-vect-loop.c