PR rtl-optimization/21254
commitf30c7901475fdf64ecad7067572e09e1b561f032
authorrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 May 2005 20:24:00 +0000 (6 20:24 +0000)
committerrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 May 2005 20:24:00 +0000 (6 20:24 +0000)
treed915060a51b36c45e01302a15b2e5cc3e27f761c
parent498bac87612f93dcfc25f257a394477639b9247c
PR rtl-optimization/21254
* loop-iv.c (iv_number_of_iterations): Simplify infiniteness
assumptions for loops that otherwise do not roll.
(find_simple_exit): Prefer # of iterations that is guaranteed
not to be infinite.
* loop-unroll.c (decide_peel_once_rolling,
decide_peel_completely): Check whether the loop is infinite.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99332 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/loop-iv.c
gcc/loop-unroll.c