Commit a8683de7 by Richard Stallman

(record_reg_classes): There is no alt_cost

for a pair of matching args if they are the same pseudo reg.

From-SVN: r5597
parent 69249c1b
......@@ -998,6 +998,8 @@ record_reg_classes (n_alts, n_ops, ops, modes, constraints, insn)
instruction. */
this_op_costs[i] = this_op_costs[j];
if (! (GET_CODE (op) == REG && rtx_equal_p (op, ops[j])))
/* No cost if both are the same pseudo reg. */
if (! find_reg_note (insn, REG_DEAD, op))
alt_cost += 2;
......
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