Commit 5f489a6c authored by Matthias Braun's avatar Matthias Braun
Browse files

execfreq calculation fails in case of unreachable code

parent 4ef40fb7
......@@ -240,7 +240,8 @@ void ir_estimate_execfreq(ir_graph *irg)
assure_irg_properties(irg,
IR_GRAPH_PROPERTY_CONSISTENT_OUT_EDGES
| IR_GRAPH_PROPERTY_CONSISTENT_LOOPINFO);
| IR_GRAPH_PROPERTY_CONSISTENT_LOOPINFO
| IR_GRAPH_PROPERTY_NO_UNREACHABLE_CODE);
/* compute a DFS.
* using a toposort on the CFG (without back edges) will propagate
......
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