aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop.h
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1997-09-21 19:49:19 -0600
committerJeff Law <law@gcc.gnu.org>1997-09-21 19:49:19 -0600
commit237a9795cb8eee2296d0e777bc2dffa4cdafefa6 (patch)
tree90446704bc98bcf3a8a28c6f81912cdac9a90ddf /gcc/loop.h
parent813f674a97a75338b497442d3529b89fcd37b917 (diff)
downloadgcc-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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/loop.h b/gcc/loop.h
index d8c83cd..44e1500 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 */