* Update profile in optimize_mask_stores
@ 2017-07-01 11:18 Jan Hubicka
0 siblings, 0 replies; only message in thread
From: Jan Hubicka @ 2017-07-01 11:18 UTC (permalink / raw)
To: gcc-patches
Hi,
this patch fixes profile update in optimize_mask_stores.
* tree-vect-loop.c (optimize_mask_stores): Use make_single_succ_edge
to update profile.
Index: tree-vect-loop.c
===================================================================
--- tree-vect-loop.c (revision 249866)
+++ tree-vect-loop.c (working copy)
@@ -7668,7 +7668,7 @@ optimize_mask_stores (struct loop *loop)
/* Put STORE_BB to likely part. */
efalse->probability = profile_probability::unlikely ();
store_bb->frequency = PROB_ALWAYS - EDGE_FREQUENCY (efalse);
- make_edge (store_bb, join_bb, EDGE_FALLTHRU);
+ make_single_succ_edge (store_bb, join_bb, EDGE_FALLTHRU);
if (dom_info_available_p (CDI_DOMINATORS))
set_immediate_dominator (CDI_DOMINATORS, store_bb, bb);
if (dump_enabled_p ())
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-07-01 11:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-01 11:18 Update profile in optimize_mask_stores 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).