Commit 09e9c038 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

belower: Allow push_through_perm() for modify_flags and should_be_same.

parent a84b0cba
......@@ -869,10 +869,9 @@ found_front:
/* it wasn't an input to the perm, we can't do anything more */
if (input < 0)
break;
if (arch_irn_is(node, modify_flags))
break;
req = arch_get_irn_register_req(node);
if (req->type != arch_register_req_type_normal)
if (req->type != arch_register_req_type_normal &&
req->type != arch_register_req_type_should_be_same)
break;
for (i = get_irn_arity(node) - 1; i >= 0; --i) {
ir_node *opop = get_irn_n(node, i);
......
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