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 0dd5d8ca839bb6fb64e825bf74bfa5640c03ee7d..607b94df5f47754b84e698e76ac7048ba542ed47 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 0530d6643b46b8af306f1eae001682b189c46055..d2ddc669176e1b9f279e13323ade369f69a77deb 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: