* tree-if-conv.c (combine_blocks): Use make_single_succ_edge
to keep profile consistent.
From-SVN: r249870
+2017-07-01 Jan Hubicka <hubicka@ucw.cz>
+
+ * tree-if-conv.c (combine_blocks): Use make_single_succ_edge
+ to keep profile consistent.
+
2017-07-01 Jan Hubicka <hubicka@ucw.cz>
* cfgrtl.c (rtl_flow_call_edges_add): Update profile.
if (exit_bb != loop->header)
{
/* Connect this node to loop header. */
- make_edge (loop->header, exit_bb, EDGE_FALLTHRU);
+ make_single_succ_edge (loop->header, exit_bb, EDGE_FALLTHRU);
set_immediate_dominator (CDI_DOMINATORS, exit_bb, loop->header);
}