tree-loop-distribution.c (bb_top_order_index): New.
authorBin Cheng <bin.cheng@arm.com>
Wed, 5 Jul 2017 11:51:22 +0000 (11:51 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Wed, 5 Jul 2017 11:51:22 +0000 (11:51 +0000)
commit3be57c5600901c958769daf63d88264249afee7c
treef56d41b17137857818e93ae7a0944c7632a8c3a4
parent773d92175e93bbd071ed83cf5d043b9e44bcabb0
tree-loop-distribution.c (bb_top_order_index): New.

* tree-loop-distribution.c (bb_top_order_index): New.
(bb_top_order_index_size, bb_top_order_cmp): New.
(stmts_from_loop): Use topological order.
(pass_loop_distribution::execute): Compute and release topological
order for basic blocks.

From-SVN: r249985
gcc/ChangeLog
gcc/tree-loop-distribution.c