From c7be78e9b3932307536faaedc52e4c553eaf7dd6 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Sat, 1 Jul 2017 14:05:29 +0200 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/tree-vect-loop.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 ()) -- 2.30.2