aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2019-02-22 10:52:49 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2019-02-22 10:52:49 +0000
commit9f0ffb2bdfa04a617ca81e55ab686a80d6ad6c77 (patch)
treeecda77ddb54b48c673b8b661ed1240fc11eb4f00 /gcc/tree-vect-loop.c
parentaceb106743f81c9df9499c470134c5a3f1370361 (diff)
downloadgcc-9f0ffb2bdfa04a617ca81e55ab686a80d6ad6c77.zip
gcc-9f0ffb2bdfa04a617ca81e55ab686a80d6ad6c77.tar.gz
gcc-9f0ffb2bdfa04a617ca81e55ab686a80d6ad6c77.tar.bz2
re PR tree-optimization/89440 (ICE in vect_create_epilog_for_reduction, at tree-vect-loop.c:5502)
2019-02-22 Richard Biener <rguenther@suse.de> PR tree-optimization/89440 * tree-vect-loop.c (vect_create_epilog_for_reduction): Remove not necessary assert. * gcc.dg/vect/pr89440.c: New testcase. From-SVN: r269111
Diffstat (limited to 'gcc/tree-vect-loop.c')
-rw-r--r--gcc/tree-vect-loop.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/tree-vect-loop.c b/gcc/tree-vect-loop.c
index d63d382..e088b6f 100644
--- a/gcc/tree-vect-loop.c
+++ b/gcc/tree-vect-loop.c
@@ -5494,13 +5494,6 @@ vect_finalize_reduction:
= loop_vinfo->lookup_stmt (exit_phi);
gphi *vect_phi;
- /* FORNOW. Currently not supporting the case that an inner-loop
- reduction is not used in the outer-loop (but only outside the
- outer-loop), unless it is double reduction. */
- gcc_assert ((STMT_VINFO_RELEVANT_P (exit_phi_vinfo)
- && !STMT_VINFO_LIVE_P (exit_phi_vinfo))
- || double_reduc);
-
if (double_reduc)
STMT_VINFO_VEC_STMT (exit_phi_vinfo) = inner_phi;
else