diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-09-22 01:49:19 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-09-22 01:49:19 +0000 |
commit | 152fc75106854082bb2230a8307486ad4e49ca94 (patch) | |
tree | 90446704bc98bcf3a8a28c6f81912cdac9a90ddf /gcc/loop.h | |
parent | 79348588081cda4592aadc106e427e3cd0f0d5c1 (diff) | |
download | gcc-152fc75106854082bb2230a8307486ad4e49ca94.tar.gz |
* 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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15621 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop.h')
-rw-r--r-- | gcc/loop.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/loop.h b/gcc/loop.h index d8c83cdcab6..44e15002028 100644 --- a/gcc/loop.h +++ b/gcc/loop.h @@ -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 */ |