re PR rtl-optimization/69609 (block reordering consumes an inordinate amount of time...
authorRichard Biener <rguenther@suse.de>
Wed, 17 Feb 2016 14:57:58 +0000 (14:57 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 17 Feb 2016 14:57:58 +0000 (14:57 +0000)
commit375374ad41d5e0bfa347944a6197cdeeb9f4b6fd
tree8b04f020b57038802eb3158125e723c7e101324d
parent57bfb1345270d8f3916d50e0f6ce35c79c2c2f52
re PR rtl-optimization/69609 (block reordering consumes an inordinate amount of time, REE consumes much memory)

2016-02-17  Richard Biener  <rguenther@suse.de>

PR rtl-optimization/69609
* bb-reorder.c (struct bbro_basic_block_data): Add priority member.
(find_traces_1_round): When ending a trace update cached priority
of successors.
(bb_to_key): Use cached priority when available.
(copy_bb): Initialize cached priority.
(reorder_basic_blocks_software_trace_cache): Likewise.

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