Commit 77ba27b4 by Jan Hubicka Committed by Jan Hubicka

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
parent e4e822ab
2017-07-16 Jan Hubicka <hubicka@ucw.cz> 2017-07-16 Jan Hubicka <hubicka@ucw.cz>
* tree-ssa-loop-unswitch.c (hoist_guard): Avoid use of REG_BR_PROB_BASE
fixpoint arithmetics.
2017-07-16 Jan Hubicka <hubicka@ucw.cz>
* asan.c (create_cond_insert_point): Avoid use of REG_BR_PROB_BASE * asan.c (create_cond_insert_point): Avoid use of REG_BR_PROB_BASE
fixpoint arithmetics. fixpoint arithmetics.
......
...@@ -897,9 +897,7 @@ hoist_guard (struct loop *loop, edge guard) ...@@ -897,9 +897,7 @@ hoist_guard (struct loop *loop, edge guard)
if (dump_file && (dump_flags & TDF_DETAILS)) if (dump_file && (dump_flags & TDF_DETAILS))
fprintf (dump_file, " %i", bb->index); fprintf (dump_file, " %i", bb->index);
if (e->probability.initialized_p ()) if (e->probability.initialized_p ())
scale_bbs_frequencies_int (&bb, 1, scale_bbs_frequencies (&bb, 1, e->probability);
e->probability.to_reg_br_prob_base (),
REG_BR_PROB_BASE);
} }
} }
......
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