Commit c7be78e9 by Jan Hubicka Committed by Jan Hubicka

tree-vect-loop.c (optimize_mask_stores): Use make_single_succ_edge to update profile.

	* tree-vect-loop.c (optimize_mask_stores): Use make_single_succ_edge
	to update profile.

From-SVN: r249867
parent 946ddcdf
2017-07-01 Jan Hubicka <hubicka@ucw.cz>
* tree-vect-loop.c (optimize_mask_stores): Use make_single_succ_edge
to update profile.
2017-07-01 Jakub Jelinek <jakub@redhat.com>
PR sanitizer/81262
......
......@@ -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 ())
......
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