Commit b5226ea8 authored by Andreas Zwinkau's avatar Andreas Zwinkau
Browse files

ldstop must deactivate edges after changes

Skipping Loads might lead to dead code, which is still reference by
out edges.
parent 3142e505
......@@ -2284,6 +2284,7 @@ int optimize_load_store(ir_graph *irg)
/* Handle graph state */
if (env.changes) {
set_irg_entity_usage_state(irg, ir_entity_usage_not_computed);
edges_deactivate(irg);
}
if (env.changes & CF_CHANGED) {
......
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