2018-07-18 Richard Biener <rguenther@suse.de>
PR tree-optimization/86557
* tree-vect-patterns.c (vect_recog_divmod_pattern): Also handle
EXACT_DIV_EXPR.
From-SVN: r262854
+2018-07-18 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/86557
+ * tree-vect-patterns.c (vect_recog_divmod_pattern): Also handle
+ EXACT_DIV_EXPR.
+
2018-07-18 Ilya Leoshkevich <iii@linux.ibm.com>
* config/s390/s390.c (s390_function_profiler): Generate CFI.
switch (rhs_code)
{
case TRUNC_DIV_EXPR:
+ case EXACT_DIV_EXPR:
case TRUNC_MOD_EXPR:
break;
default:
cond = build2 (LT_EXPR, boolean_type_node, oprnd0,
build_int_cst (itype, 0));
- if (rhs_code == TRUNC_DIV_EXPR)
+ if (rhs_code == TRUNC_DIV_EXPR
+ || rhs_code == EXACT_DIV_EXPR)
{
tree var = vect_recog_temp_ssa_var (itype, NULL);
tree shift;