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

scalar_replace: load/stores on child sels are no problem

parent fc59b92f
......@@ -275,7 +275,8 @@ static leaf_state_t link_all_leaf_sels(ir_entity *ent, ir_node *sel)
continue;
}
if (is_Sel(succ)) {
state |= link_all_leaf_sels(ent, succ) | HAS_CHILD_SELS;
link_all_leaf_sels(ent, succ);
state |= HAS_CHILD_SELS;
} else if (is_Id(succ)) {
state |= link_all_leaf_sels(ent, succ);
} else {
......
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