From: Jan Hubicka Date: Sat, 1 Jul 2017 12:05:29 +0000 (+0200) Subject: tree-vect-loop.c (optimize_mask_stores): Use make_single_succ_edge to update profile. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c7be78e9b3932307536faaedc52e4c553eaf7dd6;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dd8e1d27a35..c51c18ec59f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-07-01 Jan Hubicka + + * tree-vect-loop.c (optimize_mask_stores): Use make_single_succ_edge + to update profile. + 2017-07-01 Jakub Jelinek PR sanitizer/81262 diff --git a/gcc/tree-vect-loop.c b/gcc/tree-vect-loop.c index bab0cdd3f51..c9dd91ba684 100644 --- a/gcc/tree-vect-loop.c +++ b/gcc/tree-vect-loop.c @@ -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 ())