re PR tree-optimization/92129 (ICE in vectorizable_reduction, at tree-vect-loop.c...
authorRichard Biener <rguenther@suse.de>
Thu, 17 Oct 2019 07:39:37 +0000 (07:39 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 17 Oct 2019 07:39:37 +0000 (07:39 +0000)
2019-10-17  Richard Biener  <rguenther@suse.de>

PR tree-optimization/92129
* tree-vect-loop.c (vectorizable_reduction): Also fail
on GIMPLE_SINGLE_RHS.

From-SVN: r277094

gcc/ChangeLog
gcc/tree-vect-loop.c

index 0dd5d8c..607b94d 100644 (file)
@@ -1,3 +1,9 @@
+2019-10-17  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/92129
+       * tree-vect-loop.c (vectorizable_reduction): Also fail
+       on GIMPLE_SINGLE_RHS.
+
 2019-10-17  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/92056
index 0530d66..d2ddc66 100644 (file)
@@ -5772,6 +5772,7 @@ vectorizable_reduction (stmt_vec_info stmt_info, slp_tree slp_node,
       break;
 
     case GIMPLE_UNARY_RHS:
+    case GIMPLE_SINGLE_RHS:
       return false;
 
     default: