tree-cfgcleanup.c (want_merge_blocks_p): New function.
authorJan Hubicka <hubicka@ucw.cz>
Mon, 3 Jul 2017 12:42:07 +0000 (14:42 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 3 Jul 2017 12:42:07 +0000 (12:42 +0000)
commitb5db8b44e55b6d95865c59e92779dc7dc2e3c273
treea28dda296bdd6460ef9fc637fbd48af72ecf5a5d
parentedfe99a43c4c1b96132511c45c1cc0e627c4e1be
tree-cfgcleanup.c (want_merge_blocks_p): New function.

* 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.

From-SVN: r249907
gcc/ChangeLog
gcc/profile-count.h
gcc/tree-cfg.c
gcc/tree-cfgcleanup.c