Commit 0d931fa9 authored by yb9976's avatar yb9976 Committed by Matthias Braun
Browse files

Connect to end block.

parent 7fd93105
......@@ -341,9 +341,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;
//ir_printf("SEdge %+F -> %+F, fak: %f\n", keep, end_block, fac);
//gs_matrix_set(mat, idx, keep_idx, fac);
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