Commit 7a7e928d authored by Christian Würdig's avatar Christian Würdig
Browse files

fixed CopyKeep register class bug

parent 861e72c7
......@@ -536,6 +536,7 @@ static void gen_assure_different_pattern(ir_node *irn, be_irg_t *birg, ir_node *
else {
keep = be_new_CopyKeep_single(cls, birg->irg, block, cpy, irn, get_irn_mode(other_different));
be_node_set_reg_class(keep, 1, cls);
edges_reroute(other_different, keep, birg->irg);
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