diff options
author | J"orn Rennecke <amylaar@cygnus.co.uk> | 1999-02-24 11:50:54 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 1999-02-24 11:50:54 +0000 |
commit | c99f8c2a3e3a5a81f3bec3c1fd3a080343bd57d1 (patch) | |
tree | d564513348fedddafc05c01c247a96bf31e2b04b /gcc/loop.c | |
parent | ddce352881f2a8fcea7e43d6e0354b5d03e1874e (diff) | |
download | gcc-c99f8c2a3e3a5a81f3bec3c1fd3a080343bd57d1.zip gcc-c99f8c2a3e3a5a81f3bec3c1fd3a080343bd57d1.tar.gz gcc-c99f8c2a3e3a5a81f3bec3c1fd3a080343bd57d1.tar.bz2 |
loop.h (loop_insn_first_p): Declare.
* loop.h (loop_insn_first_p): Declare.
* loop.c (loop_insn_first_p): No longer static.
* unroll.c (iteration_info) Fix comparison to
reg_iv_type->num_elements.
Before accessing reg_biv_class, check index against
max_reg_before_loop.
Fix and enable code for giv iterators.
(loop_iterations): Compare with reg_iv_type->num_elements instead
of with max_reg_before_loop.
From-SVN: r25401
Diffstat (limited to 'gcc/loop.c')
-rw-r--r-- | gcc/loop.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -376,8 +376,6 @@ static int indirect_jump_in_function_p PROTO((rtx)); static int compute_luids PROTO((rtx, rtx, int)); -static int loop_insn_first_p PROTO((rtx, rtx)); - static int biv_elimination_giv_has_0_offset PROTO((struct induction *, struct induction *, rtx)); @@ -8112,7 +8110,7 @@ maybe_eliminate_biv (bl, loop_start, end, eliminate_p, threshold, insn_count) This is like insn_first_p, except that we use the luid information if available. */ -static int +int loop_insn_first_p (insn, reference) rtx insn, reference; { |