re PR tree-optimization/92129 (ICE in vectorizable_reduction, at tree-vect-loop.c:5869)

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
This commit is contained in:
Richard Biener 2019-10-17 07:39:37 +00:00 committed by Richard Biener
parent 0bbb0ca112
commit 7ca9ca86bd
2 changed files with 7 additions and 0 deletions

View 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

View 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: