loop.h (precondition_loop_p): Added new mode argument.
authorMichael Hayes <m.hayes@elec.canterbury.ac.nz>
Wed, 25 Nov 1998 21:32:27 +0000 (21:32 +0000)
committerMichael Hayes <m.hayes@gcc.gnu.org>
Wed, 25 Nov 1998 21:32:27 +0000 (21:32 +0000)
commite96b4d7a44d83dc2d5cbf2f6a12d9c46a76886f4
treecd0eae0716d026df7c60885348c56a4214b633aa
parent302670f3f00ef8b555278b4216e3c1e1544352c2
loop.h (precondition_loop_p): Added new mode argument.

  * loop.h (precondition_loop_p): Added new mode argument.
* unroll.c (precondition_loop_p): Likewise.
(approx_final_value): Function deleted and subsumed
  into loop_iterations.
(loop_find_equiv_value): New function.
(loop_iterations): Use loop_find_equiv_value to find increments
too large to be immediate constants.  Also use it to find terms
common to initial and final iteration values that can be removed.

From-SVN: r23885
gcc/ChangeLog
gcc/loop.h
gcc/unroll.c