* loop.h (struct movables): Remove `num'.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 May 2001 15:54:19 +0000 (15:54 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 May 2001 15:54:19 +0000 (15:54 +0000)
commit85bd95435556b512eaeb6ec4abd483a938a46b6a
tree7e8f2fa2de2821974241456f1c9e7c9a00401659
parentc198dd7476f15878680535871c0543d50dff04b7
* loop.h (struct movables): Remove `num'.
* loop.c (scan_loop): Don't set it.  Use count_insns_in_loop.
Adjust call to strength_reduce.
(num_unmoved_movables): New function.
(move_movables): Don't set movables->num.
(strength_reduce): Compute the number of instructions in the loop
here, rather than in the caller.
(check_dbra_loop): Always clear reversible_mem_store if there
are any memory sets.
(loop_regs_scan): Don't count instructions here.
(count_insn_in_loop): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41966 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/loop.c
gcc/loop.h