2017-10-06 Richard Biener <rguenther@suse.de>
commit614c047a8f244da8d00c94afb7655f1258584bf6
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Oct 2017 07:03:23 +0000 (6 07:03 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Oct 2017 07:03:23 +0000 (6 07:03 +0000)
tree206f6d8187527031fe3d1075b68b8c1e72222ced
parent2d47adb251e19635d4ce39bb80aa4a9efcf139d1
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@253473 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr82436.c [new file with mode: 0644]
gcc/tree-vect-slp.c