re PR tree-optimization/78205 (BB vectorization confused by too large load groups)
authorRichard Biener <rguenther@suse.de>
Tue, 8 Nov 2016 08:06:42 +0000 (08:06 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 8 Nov 2016 08:06:42 +0000 (08:06 +0000)
commitfe73a33284d23c5a7d8d8eb5b13e37454401b6c4
tree3d6f2b801388eaa2f83d00e53e161e87ce062ae9
parented053eb8240556e7953ff865c428b784b6546717
re PR tree-optimization/78205 (BB vectorization confused by too large load groups)

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

PR tree-optimization/78205
* tree-vect-stmts.c (vectorizable_load): Move check whether
we may run into gaps when BB vectorizing SLP permutations ...
* tree-vect-slp.c (vect_supported_load_permutation_p): ...
here where we can do a more precise check.

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

From-SVN: r241956
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/bb-slp-pr78205.c [new file with mode: 0644]
gcc/tree-vect-slp.c
gcc/tree-vect-stmts.c