+2017-07-01 Jan Hubicka <hubicka@ucw.cz>
+
+ * bb-reorder.c (fix_up_crossing_landing_pad,
+ fix_crossing_conditional_branches): Use make_single_succ_edge
+ to keep profile consistent.
+
2017-07-01 Jan Hubicka <hubicka@ucw.cz>
* tree-vect-loop.c (optimize_mask_stores): Use make_single_succ_edge
emit_barrier_after_bb (new_bb);
- make_edge (new_bb, post_bb, 0);
+ make_single_succ_edge (new_bb, post_bb, 0);
/* Make sure new bb is in the other partition. */
new_partition = BB_PARTITION (old_bb);
for 'dest'. */
if (EDGE_COUNT (new_bb->succs) == 0)
- new_edge = make_edge (new_bb, dest, 0);
+ new_edge = make_single_succ_edge (new_bb, dest, 0);
else
new_edge = EDGE_SUCC (new_bb, 0);