+2013-10-09 Andrew MacLeod <amacleod@redhat.com>
+
+ * loop-doloop.c (doloop_modify, doloop_optimize): Use
+ get_max_loop_iterations.
+
2013-10-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/aarch-common.c (arm_early_load_addr_dep):
/* Determine if the iteration counter will be non-negative.
Note that the maximum value loaded is iterations_max - 1. */
- if (max_loop_iterations (loop, &iterations)
+ if (get_max_loop_iterations (loop, &iterations)
&& (iterations.ule (double_int_one.llshift
(GET_MODE_PRECISION (mode) - 1,
GET_MODE_PRECISION (mode)))))
double_int iter;
rtx iter_rtx;
- if (!max_loop_iterations (loop, &iter)
+ if (!get_max_loop_iterations (loop, &iter)
|| !iter.fits_shwi ())
iter_rtx = const0_rtx;
else
count = copy_rtx (desc->niter_expr);
iterations = desc->const_iter ? desc->niter_expr : const0_rtx;
- if (!max_loop_iterations (loop, &iter)
+ if (!get_max_loop_iterations (loop, &iter)
|| !iter.fits_shwi ())
iterations_max = const0_rtx;
else