Commit 1099198d by Jan Hubicka Committed by Jan Hubicka

tree-if-conv.c (combine_blocks): Use make_single_succ_edge to keep profile consistent.

	* tree-if-conv.c (combine_blocks): Use make_single_succ_edge
	to keep profile consistent.

From-SVN: r249870
parent 36d95aa8
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.
* tree-cfg.c (gimple_flow_call_edges_add): Likewise.
* profile-count.h (max_safe_multiplier): Make unsigned.
......
......@@ -2403,7 +2403,7 @@ combine_blocks (struct loop *loop)
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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment