Commit 75d2e78b authored by Michael Beck's avatar Michael Beck
Browse files

dded assertion if ldstopt() is called with nodes floating, we need precise block info

parent 8cbfad88
......@@ -869,6 +869,8 @@ void optimize_load_store(ir_graph *irg)
walk_env_t env;
assert(get_irg_phase_state(irg) != phase_building);
assert(get_irg_pinned(irg) != op_pin_state_floats &&
"LoadStore optimization needs pinned graph");
if (!get_opt_redundant_LoadStore())
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