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

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

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