re PR tree-optimization/82436 (465.tonto ICE in vect_get_slp_vect_defs, at tree-vect...
authorRichard Biener <rguenther@suse.de>
Fri, 6 Oct 2017 07:03:23 +0000 (07:03 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 6 Oct 2017 07:03:23 +0000 (07:03 +0000)
commit31bee964798d25ac83e513de6858b69c3a9624be
tree206f6d8187527031fe3d1075b68b8c1e72222ced
parent604d1669d6d1d3106032f5e7ab6062cb270cdf88
re PR tree-optimization/82436 (465.tonto ICE in vect_get_slp_vect_defs, at tree-vect-slp.c:3410)

2017-10-06  Richard Biener  <rguenther@suse.de>

PR tree-optimization/82436
* tree-vect-slp.c (vect_supported_load_permutation_p): More
conservatively choose the vectorization factor when checking
whether we can perform the required load permutation.
(vect_transform_slp_perm_load): Assert when we may not fail.

* gcc.dg/vect/pr82436.c: New testcase.

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