Commit 24512e42 authored by Matthias Braun's avatar Matthias Braun
Browse files

add TODO to bespillutil

parent 7c907708
......@@ -804,6 +804,11 @@ static void prepare_constr_insn(ir_node *const node)
if (!common_limits)
/* TODO: This is suboptimal, we should rather have the node use the old
* value and all following users use the copy (because that gives us a
* register change for free), need to add some SSA-reconstruction code
* to achieve this. */
ir_node *block = get_nodes_block(node);
ir_node *copy = be_new_Copy(block, in);
sched_add_before(node, copy);
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