From 03fd03d5bcb647dac06dd8e30a4660d4621e1d2e Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Wed, 18 Apr 2012 11:33:51 +0000 Subject: re PR tree-optimization/44688 (Excessive code-size growth at -O3) 2012-04-18 Richard Guenther PR tree-optimization/44688 * cfgloop.h (record_niter_bound): Declare. * tree-ssa-loop-niter.c (record_niter_bound): Export. Update the estimation with the upper bound here... (estimate_numbers_of_iterations_loop): ... instead of here. Do not forcefully reset a recorded upper bound. * tree-vect-loop-manip.c (vect_do_peeling_for_alignment): Record the maximum number of loop iterations of the prologue loop. From-SVN: r186566 --- gcc/cfgloop.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/cfgloop.h') diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h index 14cc8e8..b3c862c 100644 --- a/gcc/cfgloop.h +++ b/gcc/cfgloop.h @@ -279,6 +279,7 @@ extern unsigned expected_loop_iterations (const struct loop *); extern rtx doloop_condition_get (rtx); void estimate_numbers_of_iterations_loop (struct loop *); +void record_niter_bound (struct loop *, double_int, bool, bool); bool estimated_loop_iterations (struct loop *, double_int *); bool max_loop_iterations (struct loop *, double_int *); HOST_WIDE_INT estimated_loop_iterations_int (struct loop *); -- cgit v1.1