Fix ICE in vect_slp_analyze_node_operations_1
authorAlejandro Martinez <alejandro.martinezvicente@arm.com>
Mon, 3 Jun 2019 09:13:32 +0000 (09:13 +0000)
committerAlejandro Martinez <alejandro@gcc.gnu.org>
Mon, 3 Jun 2019 09:13:32 +0000 (09:13 +0000)
commitbcde3345ea97aef36f5b4e29f09f71bcd41879b2
treea37c040cad49749087ab467c78458e04f08ef665
parent961dce6b9d495ebdb3a0b98bf0d15bb8f062ff00
Fix ICE in vect_slp_analyze_node_operations_1

This patch fixes bug 90681.  It was caused by trying to SLP vectorize a non
groupped load.  We've fixed it by tweaking a bit the implementation: mark
masked loads as not vectorizable, but support them as an special case.  Then
the detect them in the test for normal non-groupped loads that was already
there.

From-SVN: r271856
gcc/ChangeLog
gcc/internal-fn.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/vect/pr90681.f [new file with mode: 0644]
gcc/tree-vect-slp.c