Only test STMT_VINFO_STRIDED_P for the first statement in a group
authorRichard Sandiford <richard.sandiford@arm.com>
Wed, 22 Aug 2018 12:58:53 +0000 (12:58 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 22 Aug 2018 12:58:53 +0000 (12:58 +0000)
commit3ad3b3ac8c3eae606897ceba5811760f030fdac1
tree5397fa7f558b0c6749ba0c73da2c7cf3b44d8af5
parent257d10b524dbf6e026c5f67e4053b2612661e272
Only test STMT_VINFO_STRIDED_P for the first statement in a group

get_load_store_type & co were testing STMT_VINFO_STRIDED_P on individual
statements in a group instead of the first.  This has no effect on
its own, but is needed by a later patch.

2018-08-22  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* tree-vect-stmts.c (get_group_load_store_type)
(get_load_store_type): Only test STMT_VINFO_STRIDED_P for the
first statement in a group.

From-SVN: r263771
gcc/ChangeLog
gcc/tree-vect-stmts.c