* tree-cfgcleanup.c (want_merge_blocks_p): New function.
commit4669b904044fdf889a2b3dadb70346f67e9f7e36
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Jul 2017 12:42:07 +0000 (3 12:42 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Jul 2017 12:42:07 +0000 (3 12:42 +0000)
treea28dda296bdd6460ef9fc637fbd48af72ecf5a5d
parentd6291bd75ce0df8a9fd2f38b3b3387a746d344ce
* tree-cfgcleanup.c (want_merge_blocks_p): New function.
        (cleanup_tree_cfg_bb): Use it.
* profile-count.h (profile_count::of_for_merging, profile_count::merge):
New functions.
* tree-cfg.c (gimple_merge_blocks): Use profile_count::merge.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249907 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/profile-count.h
gcc/tree-cfg.c
gcc/tree-cfgcleanup.c