aboutsummaryrefslogtreecommitdiff
path: root/gcc/internal-fn.c
diff options
context:
space:
mode:
authorAlejandro Martinez <alejandro.martinezvicente@arm.com>2019-06-03 09:13:32 +0000
committerAlejandro Martinez <alejandro@gcc.gnu.org>2019-06-03 09:13:32 +0000
commitbcde3345ea97aef36f5b4e29f09f71bcd41879b2 (patch)
treea37c040cad49749087ab467c78458e04f08ef665 /gcc/internal-fn.c
parent961dce6b9d495ebdb3a0b98bf0d15bb8f062ff00 (diff)
downloadgcc-bcde3345ea97aef36f5b4e29f09f71bcd41879b2.zip
gcc-bcde3345ea97aef36f5b4e29f09f71bcd41879b2.tar.gz
gcc-bcde3345ea97aef36f5b4e29f09f71bcd41879b2.tar.bz2
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
Diffstat (limited to 'gcc/internal-fn.c')
-rw-r--r--gcc/internal-fn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/internal-fn.c b/gcc/internal-fn.c
index 3051a7a..04081f3 100644
--- a/gcc/internal-fn.c
+++ b/gcc/internal-fn.c
@@ -100,7 +100,7 @@ init_internal_fns ()
/* Create static initializers for the information returned by
direct_internal_fn. */
#define not_direct { -2, -2, false }
-#define mask_load_direct { -1, 2, true }
+#define mask_load_direct { -1, 2, false }
#define load_lanes_direct { -1, -1, false }
#define mask_load_lanes_direct { -1, -1, false }
#define gather_load_direct { -1, -1, false }