Fix PR92129
diff mbox series

Message ID nycvar.YFH.7.76.1910170938080.5566@zhemvz.fhfr.qr
State New
Headers show
Series
  • Fix PR92129
Related show

Commit Message

Richard Biener Oct. 17, 2019, 7:38 a.m. UTC
Committed as obvious.

Richard.

2019-10-17  Richard Biener  <rguenther@suse.de>

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

Patch
diff mbox series

Index: gcc/tree-vect-loop.c
===================================================================
--- gcc/tree-vect-loop.c	(revision 277091)
+++ gcc/tree-vect-loop.c	(working copy)
@@ -5772,6 +5772,7 @@  vectorizable_reduction (stmt_vec_info st
       break;
 
     case GIMPLE_UNARY_RHS:
+    case GIMPLE_SINGLE_RHS:
       return false;
 
     default: