diff options
author | Jeff Law <law@gcc.gnu.org> | 1997-09-21 19:49:19 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-09-21 19:49:19 -0600 |
commit | 237a9795cb8eee2296d0e777bc2dffa4cdafefa6 (patch) | |
tree | 90446704bc98bcf3a8a28c6f81912cdac9a90ddf /gcc/loop.h | |
parent | 813f674a97a75338b497442d3529b89fcd37b917 (diff) | |
download | gcc-237a9795cb8eee2296d0e777bc2dffa4cdafefa6.zip gcc-237a9795cb8eee2296d0e777bc2dffa4cdafefa6.tar.gz gcc-237a9795cb8eee2296d0e777bc2dffa4cdafefa6.tar.bz2 |
loop.c (loop_unroll_factor): Move outside #ifdef HAIFA conditional.
* loop.c (loop_unroll_factor): Move outside #ifdef HAIFA
conditional.
(loop_unroll_iter): Remove unused variable and all references.
(loop_optimize): Always allocate and clear space for loop_unroll_factor.
(insert_bct): Fix minor formatting problems.
* loop.h (loop_unroll_factor): Move decl outside #ifdef HAIFA.
(loop_unroll_iter): Removed unused decl.
* unroll.c (unroll_loop): Remove code to set loop_unroll_iter.
Always record the unrolling factor.
More haifa cleanup
From-SVN: r15621
Diffstat (limited to 'gcc/loop.h')
-rw-r--r-- | gcc/loop.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -182,12 +182,11 @@ rtx final_giv_value PROTO((struct induction *, rtx, rtx)); void emit_unrolled_add PROTO((rtx, rtx, rtx)); int back_branch_in_range_p PROTO((rtx, rtx, rtx)); +extern int *loop_unroll_factor; #ifdef HAIFA /* variables for interaction between unroll.c and loop.c, for the insertion of branch-on-count instruction. */ -extern int *loop_unroll_factor; extern rtx *loop_start_value; -extern int *loop_unroll_iter; extern int loop_number(); #endif /* HAIFA */ |