Commit e3be9945 authored by Matthias Braun's avatar Matthias Braun
Browse files

normalizing for 1 return increases Cond/Switch optimization chance

parent 96f5bd65
......@@ -544,7 +544,8 @@ again:;
void optimize_cf(ir_graph *irg)
{
assure_irg_properties(irg, IR_GRAPH_PROPERTY_NO_UNREACHABLE_CODE);
assure_irg_properties(irg, IR_GRAPH_PROPERTY_NO_UNREACHABLE_CODE
| IR_GRAPH_PROPERTY_ONE_RETURN);
ir_reserve_resources(irg, IR_RESOURCE_BLOCK_MARK | IR_RESOURCE_PHI_LIST
| IR_RESOURCE_IRN_LINK);
......
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