Commit 8800cffa authored by Matthias Braun's avatar Matthias Braun
Browse files

benewalloc: more special casing of unknowns as phi-inputs needed

parent c7404adf
......@@ -1076,6 +1076,11 @@ static void add_phi_permutations(ir_node *block, int p)
if (!arch_irn_consider_in_reg_alloc(cls, node))
op = get_Phi_pred(node, p);
/* no need to do anything for Unknown inputs */
if (!arch_irn_consider_in_reg_alloc(cls, op))
/* we have permutated all values into the correct registers so we can
simply query which value occupies the phis register in the
predecessor */
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