tree-vect-data-refs.c (vect_analyze_group_access): Properly compute GROUP_GAP for...
authorRichard Biener <rguenther@suse.de>
Wed, 3 Jun 2015 13:10:13 +0000 (13:10 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 3 Jun 2015 13:10:13 +0000 (13:10 +0000)
commite004aa11b1d261b597aa3e062204af61762ba6a9
treea02fed610be6458820ef2510b8d689c0791fa6aa
parentfddde8d3d82bf11fa191d067dcf3ed505224089a
tree-vect-data-refs.c (vect_analyze_group_access): Properly compute GROUP_GAP for the first element.

2015-06-03  Richard Biener  <rguenther@suse.de>

* tree-vect-data-refs.c (vect_analyze_group_access): Properly
compute GROUP_GAP for the first element.
* tree-vect-slp.c (vect_build_slp_tree_1): Remove restriction
on in-group gaps.

* gcc.dg/vect/bb-slp-36.c: New testcase.

From-SVN: r224077
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/bb-slp-36.c [new file with mode: 0644]
gcc/tree-vect-data-refs.c
gcc/tree-vect-slp.c