From 91a01f21abfe192fd660da55be548f52008e3f51 Mon Sep 17 00:00:00 2001 From: Zdenek Dvorak Date: Fri, 6 May 2005 23:11:29 +0200 Subject: re PR tree-optimization/19401 (Trivial loop not unrolled) PR tree-optimization/19401 * tree-flow.h (tree_unroll_loops_completely): Declaration changed. * tree-ssa-loop-ivcanon.c (enum unroll_level): New. (estimated_unrolled_size): New function. (try_unroll_loop_completely, canonicalize_loop_induction_variables, tree_unroll_loops_completely): Always unroll loops if the code size does not increase. * tree-ssa-loop.c (tree_complete_unroll): Indicate whether all loops should be unrolled completely. (gate_tree_complete_unroll): Run complete unrolling unconditionally. From-SVN: r99334 --- gcc/tree-flow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/tree-flow.h') diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h index d71238c..fc14564 100644 --- a/gcc/tree-flow.h +++ b/gcc/tree-flow.h @@ -693,7 +693,7 @@ bool empty_block_p (basic_block); void tree_ssa_lim (struct loops *); void tree_ssa_unswitch_loops (struct loops *); void canonicalize_induction_variables (struct loops *); -void tree_unroll_loops_completely (struct loops *); +void tree_unroll_loops_completely (struct loops *, bool); void tree_ssa_iv_optimize (struct loops *); bool number_of_iterations_exit (struct loop *, edge, -- cgit v1.1