Commit 8e43e9cd by Jan Hubicka Committed by Jan Hubicka

* tree-cfg.c (gimple_find_sub_bbs): Do not compute freq.

From-SVN: r254813
parent 62003be5
2017-11-16 Jan Hubicka <hubicka@ucw.cz>
* tree-cfg.c (gimple_find_sub_bbs): Do not compute freq.
2017-11-14 Jan Hubicka <hubicka@ucw.cz>
* cfg.c (scale_bbs_frequencies_int,
......@@ -1050,7 +1050,6 @@ gimple_find_sub_bbs (gimple_seq seq, gimple_stmt_iterator *gsi)
{
struct omp_region *cur_region = NULL;
profile_count cnt = profile_count::zero ();
int freq = 0;
bool all = true;
int cur_omp_region_idx = 0;
......@@ -1066,7 +1065,6 @@ gimple_find_sub_bbs (gimple_seq seq, gimple_stmt_iterator *gsi)
cnt += e->count ();
else
all = false;
freq += EDGE_FREQUENCY (e);
}
tree_guess_outgoing_edge_probabilities (bb);
if (all || profile_status_for_fn (cfun) == PROFILE_READ)
......
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