Only test STMT_VINFO_STRIDED_P for the first statement in a group
commit71e71559f95e04a8e2bdfb4933ed3b2afc6101cb
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Aug 2018 12:58:53 +0000 (22 12:58 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Aug 2018 12:58:53 +0000 (22 12:58 +0000)
tree5397fa7f558b0c6749ba0c73da2c7cf3b44d8af5
parentf9efa8753bc0c47b0dfb9b5a2c9cffa691248acf
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263771 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-vect-stmts.c