tree-vect-stmts.c (get_group_load_store_type): If the access is aligned do not trigge...
authorRichard Biener <rguenther@suse.de>
Tue, 8 Nov 2016 10:23:57 +0000 (10:23 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 8 Nov 2016 10:23:57 +0000 (10:23 +0000)
commitf9ef2c765ad3fce93ddacdabede6b67efdc13c0d
tree0340dbcfba314663bc12068e3c2e27437f874c44
parentae55655b93f64ab5ea6739d5c6be015fbe11e038
tree-vect-stmts.c (get_group_load_store_type): If the access is aligned do not trigger peeling for gaps.

2016-11-08  Richard Biener  <rguenther@suse.de>

* tree-vect-stmts.c (get_group_load_store_type): If the
access is aligned do not trigger peeling for gaps.
* tree-vect-data-refs.c (vect_compute_data_ref_alignment): Do not
force alignment of vars with DECL_USER_ALIGN.

* gcc.dg/vect/vect-nb-iter-ub-2.c: Adjust.

From-SVN: r241959
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/vect-nb-iter-ub-2.c
gcc/tree-vect-data-refs.c
gcc/tree-vect-stmts.c