re PR tree-optimization/66051 (can't vectorize reductions inside an SLP group)
authorRichard Biener <rguenther@suse.de>
Thu, 3 Dec 2015 11:26:56 +0000 (11:26 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 3 Dec 2015 11:26:56 +0000 (11:26 +0000)
commit97a1a642995cbe356786d2fb2b7c203fea7d0282
treeafefa2b1a929269bdd0a2d3120eef4d111960e5f
parentb5be36b1dba767987999e7fac5af85022e97c113
re PR tree-optimization/66051 (can't vectorize reductions inside an SLP group)

2015-12-03  Richard Biener  <rguenther@suse.de>

PR tree-optimization/66051
* tree-vect-slp.c (vect_build_slp_tree_1): Remove restriction
on load group size.  Do not pass in vectorization_factor.
(vect_transform_slp_perm_load): Do not require any permute support.
(vect_build_slp_tree): Do not pass in vectorization factor.
(vect_analyze_slp_instance): Do not compute vectorization
factor estimate.  Use vector size instead of vectorization factor
estimate to split store groups for BB vectorization.

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

From-SVN: r231225
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/slp-42.c [new file with mode: 0644]
gcc/tree-vect-slp.c