[Bug tree-optimization/90681] [10 Regression] ICE in vect_slp_analyze_node_operations_1, at tree-vect-slp.c:2513 since r271704

alejandro at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 3 09:14:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90681

--- Comment #4 from alejandro at gcc dot gnu.org ---
Author: alejandro
Date: Mon Jun  3 09:13:32 2019
New Revision: 271856

URL: https://gcc.gnu.org/viewcvs?rev=271856&root=gcc&view=rev
Log:
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.


Added:
    trunk/gcc/testsuite/gfortran.dg/vect/pr90681.f
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/internal-fn.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-slp.c


More information about the Gcc-bugs mailing list