Commit b8d83b33 authored by yb9976's avatar yb9976 Committed by Andreas Fried
Browse files

Connect to end block.

parent 5332b7ba
......@@ -335,7 +335,7 @@ void ir_estimate_execfreq(ir_graph *irg)
double sum = get_sum_succ_factors(keep, inv_loop_weight);
double fac = KEEP_FAC/sum;
int keep_idx = size - dfs_get_post_num(dfs, keep)-1;
gs_matrix_set(mat, start_idx, keep_idx, fac);
gs_matrix_set(mat, idx, keep_idx, fac);
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