bb-reorder: Add the "simple" algorithm
authorSegher Boessenkool <segher@kernel.crashing.org>
Thu, 1 Oct 2015 06:35:57 +0000 (08:35 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Thu, 1 Oct 2015 06:35:57 +0000 (08:35 +0200)
commit248c16c49ac74146a3b21f7536ede9b0f4378493
tree001468cbda8d71f9917826959d383040d64cb40c
parentaf71fa391d8bdfd5c3156a03afa42f0363a495a7
bb-reorder: Add the "simple" algorithm

2015-10-01  Segher Boessenkool  <segher@kernel.crashing.org>

* bb-reorder.c: Add intro comment.
(reorder_basic_blocks_software_trace_cache): Print a header to
the dump file.
(edge_order): New function.
(reorder_basic_blocks_simple): New function.
(reorder_basic_blocks): Choose between the STC and the simple
algorithms (always choose the former).

From-SVN: r228317
gcc/ChangeLog
gcc/bb-reorder.c