2013-05-15 Teresa Johnson <tejohnson@google.com>
commit812ca88eb4a3baf471a15f850fcb7cf124c26fc1
authortejohnson <tejohnson@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 May 2013 14:14:15 +0000 (15 14:14 +0000)
committertejohnson <tejohnson@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 May 2013 14:14:15 +0000 (15 14:14 +0000)
treefa7f8529c4634be7caa170a0bcfcd4fd08a639c8
parent33ae7c4b7bb995d2f98b46d7941c8fe34aca4b31
2013-05-15  Teresa Johnson  <tejohnson@google.com>

* function.h (has_bb_partition): New rtl_data flag.
        (bb_reorder_complete): Ditto.
* cfgcleanup.c (try_crossjump_to_edge): Check for has_bb_partition
        instead of flag_reorder_blocks_and_partition.
        * cfgrtl.c (verify_hot_cold_block_grouping): Moved from bb-reorder.c,
        with some enhancements.
        (rtl_verify_flow_info_1): Call verify_hot_cold_block_grouping.
* bb-reorder.c (connect_traces): Check for has_bb_partition
        instead of flag_reorder_blocks_and_partition.
(verify_hot_cold_block_grouping): Moved to cfgrtl.c.
(reorder_basic_blocks): Set bb_reorder_complete flag, remove call to
        verify_hot_cold_block_grouping.
(partition_hot_cold_basic_blocks): Set has_bb_partition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198934 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/bb-reorder.c
gcc/cfgcleanup.c
gcc/cfgrtl.c
gcc/function.h