Commit 10ea2672 by Jan Hubicka Committed by Jan Hubicka

* tree-vect-loop-manip.c (vect_do_peeling): Fix scaling up.

From-SVN: r249929
parent 5c2ef4e8
2017-07-03 Jan Hubicka <hubicka@ucw.cz>
* tree-vect-loop-manip.c (vect_do_peeling): Fix scaling up.
2017-07-03 Richard Earnshaw <rearnsha@arm.com>
* doc/invoke.texi (ARM Options): Add -mbe8 and -mbe32 to option summary.
......
......@@ -1849,8 +1849,8 @@ vect_do_peeling (loop_vec_info loop_vinfo, tree niters, tree nitersm1,
get lost if we scale down to 0. */
int scale_up = REG_BR_PROB_BASE * REG_BR_PROB_BASE
/ prob_vector.to_reg_br_prob_base ();
basic_block *bbs = get_loop_body (loop);
scale_bbs_frequencies_int (bbs, loop->num_nodes, scale_up,
basic_block *bbs = get_loop_body (epilog);
scale_bbs_frequencies_int (bbs, epilog->num_nodes, scale_up,
REG_BR_PROB_BASE);
free (bbs);
}
......
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