From: Jan Hubicka Date: Sun, 16 Jul 2017 16:30:40 +0000 (+0200) Subject: tree-ssa-loop-unswitch.c (hoist_guard): Avoid use of REG_BR_PROB_BASE fixpoint arithm... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=77ba27b40be89dc62d53e569a1917d4f74b71b25;p=gcc.git tree-ssa-loop-unswitch.c (hoist_guard): Avoid use of REG_BR_PROB_BASE fixpoint arithmetics. * tree-ssa-loop-unswitch.c (hoist_guard): Avoid use of REG_BR_PROB_BASE fixpoint arithmetics. From-SVN: r250241 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f17ed1fe91d..849de45f2c8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-07-16 Jan Hubicka + + * tree-ssa-loop-unswitch.c (hoist_guard): Avoid use of REG_BR_PROB_BASE + fixpoint arithmetics. + 2017-07-16 Jan Hubicka * asan.c (create_cond_insert_point): Avoid use of REG_BR_PROB_BASE diff --git a/gcc/tree-ssa-loop-unswitch.c b/gcc/tree-ssa-loop-unswitch.c index 8482be5e543..204cd0d0645 100644 --- a/gcc/tree-ssa-loop-unswitch.c +++ b/gcc/tree-ssa-loop-unswitch.c @@ -897,9 +897,7 @@ hoist_guard (struct loop *loop, edge guard) if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, " %i", bb->index); if (e->probability.initialized_p ()) - scale_bbs_frequencies_int (&bb, 1, - e->probability.to_reg_br_prob_base (), - REG_BR_PROB_BASE); + scale_bbs_frequencies (&bb, 1, e->probability); } }