re PR tree-optimization/68559 (Excessive peeling for gaps)
authorRichard Biener <rguenther@suse.de>
Fri, 27 Nov 2015 14:17:28 +0000 (14:17 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 27 Nov 2015 14:17:28 +0000 (14:17 +0000)
commit72c0f64330a0a5500fe97bf829ce181a28820fdf
tree7b174d0e3a941e415681d1d52723e50d8079280a
parent00e5241831c1227615a45b7bcba29c393671cb3f
re PR tree-optimization/68559 (Excessive peeling for gaps)

2015-11-27  Richard Biener  <rguenther@suse.de>

PR tree-optimization/68559
* tree-vect-data-refs.c (vect_analyze_group_access_1): Move
peeling for gap checks ...
* tree-vect-stmts.c (vectorizable_load): ... here and relax
for SLP.
* tree-vect-loop.c (vect_analyze_loop_2): Re-set
LOOP_VINFO_PEELING_FOR_GAPS before re-trying without SLP.

* gcc.dg/vect/slp-perm-4.c: Adjust again.
* gcc.dg/vect/pr45752.c: Likewise.

From-SVN: r231015
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr45752.c
gcc/testsuite/gcc.dg/vect/slp-perm-4.c
gcc/tree-vect-data-refs.c
gcc/tree-vect-loop.c
gcc/tree-vect-stmts.c