PR tree-optimization/19401
commit604f7b8aa757d1e048ae7753892e7a54abdf6639
authorrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 May 2005 21:11:29 +0000 (6 21:11 +0000)
committerrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 May 2005 21:11:29 +0000 (6 21:11 +0000)
tree7fbe820f0e0b444ff5d1c9867f6355dcd5f85a91
parentf30c7901475fdf64ecad7067572e09e1b561f032
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99334 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-flow.h
gcc/tree-ssa-loop-ivcanon.c
gcc/tree-ssa-loop.c