Commit 821aaff2 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

ldstopt: Use exchange() instead of set_irn_in() when a Sync has only a single operand left.

parent f3f4b553
......@@ -2243,6 +2243,9 @@ again:;
new_in[new_arity++] = in;
}
if (new_arity == 1)
exchange(sync, new_in[0]);
else
set_irn_in(sync, new_arity, new_in);
}
}
......
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