* Update profile in bb-reorder
@ 2017-07-01 12:33 Jan Hubicka
0 siblings, 0 replies; only message in thread
From: Jan Hubicka @ 2017-07-01 12:33 UTC (permalink / raw)
To: gcc-patches
Bootstrapped/regtested x86_64-linux, comitted.
* bb-reorder.c (fix_up_crossing_landing_pad,
fix_crossing_conditional_branches): Use make_single_succ_edge
to keep profile consistent.
Index: bb-reorder.c
===================================================================
--- bb-reorder.c (revision 249866)
+++ bb-reorder.c (working copy)
@@ -1450,7 +1450,7 @@ fix_up_crossing_landing_pad (eh_landing_
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);
@@ -2118,7 +2118,7 @@ fix_crossing_conditional_branches (void)
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-07-01 12:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-01 12:33 Update profile in bb-reorder Jan Hubicka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).