Commit 00602b2a authored by Matthias Braun's avatar Matthias Braun
Browse files

fix endless loop for some execfreqs

[r8185]
parent eaee22dd
...@@ -130,6 +130,9 @@ static void pick_successor(ir_node *block, ir_extblk *extblk, env_t *env) ...@@ -130,6 +130,9 @@ static void pick_successor(ir_node *block, ir_extblk *extblk, env_t *env)
ir_node *succ = get_edge_src_irn(edge); ir_node *succ = get_edge_src_irn(edge);
double execfreq; double execfreq;
if(irn_visited(succ))
continue;
if(get_Block_n_cfgpreds(succ) > 1) { if(get_Block_n_cfgpreds(succ) > 1) {
create_extblk(succ, env); create_extblk(succ, env);
continue; continue;
......
Supports Markdown
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