re PR rtl-optimization/84058 (RTl partitioning fixup should drag very small blocks...
authorJan Hubicka <jh@suse.cz>
Mon, 9 Apr 2018 16:33:51 +0000 (18:33 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 9 Apr 2018 16:33:51 +0000 (16:33 +0000)
commit687d5dfe165f705cb0b863fbe1f80bf77c1b6559
treedce4694dfb3079937dc98a9e1ac671479324509d
parent13c60208d0428ad14b4bd41a63a47d67bd35253f
re PR rtl-optimization/84058 (RTl partitioning fixup should drag very small blocks back to hot partition)

PR rtl/84058
* cfgcleanup.c (try_forward_edges): Do not give up on crossing
jumps; choose last target that matches the criteria (i.e.
no partition changes for non-crossing jumps).
* cfgrtl.c (cfg_layout_redirect_edge_and_branch): Add basic
support for redirecting crossing jumps to non-crossing.

From-SVN: r259244
gcc/ChangeLog
gcc/cfgcleanup.c
gcc/cfgrtl.c