* config/bfin/bfin.c: Include "cfglayout.h".
commit917c40366022399811fc7f0eb7e2ccf4e6b09c16
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Feb 2007 13:25:41 +0000 (27 13:25 +0000)
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Feb 2007 13:25:41 +0000 (27 13:25 +0000)
tree485864d70572c6f81f9af468c9e5996ee4f66d7e
parent3300e46263916a8d9451de5fddb63e8bb03763d0
* config/bfin/bfin.c: Include "cfglayout.h".
(MAX_LSETUP_DISTANCE): New macro.
(struct loop_info): New members incoming, incoming_src and
incoming_dest.  Delete member predecessor.
(length_for_loop): New function.
(bfin_optimize_loop): Handle more different loop structures.
(bfin_discover_loop): Rework detection of predecessor blocks by
examining incoming edges.
(bfin_discover_loops, bfin_free_loops): New functions, broken out of
bfin_reorg_loops.
(bfin_reorder_loops): New function.
(bfin_reorg_loops): Use these three new functions.

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