]> git.ipfire.org Git - thirdparty/gcc.git/commit
bfin.c: Include "cfglayout.h".
authorBernd Schmidt <bernd.schmidt@analog.com>
Tue, 27 Feb 2007 13:25:41 +0000 (13:25 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Tue, 27 Feb 2007 13:25:41 +0000 (13:25 +0000)
commitce27ef3d722fcd2d60f092e4fb4ace14f79fa058
tree485864d70572c6f81f9af468c9e5996ee4f66d7e
parent9b02a95e8022dca224a076d3ab818ee495f70ecb
bfin.c: Include "cfglayout.h".

* 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.

From-SVN: r122372
gcc/ChangeLog
gcc/config/bfin/bfin.c