Commit 26a952a8 by Richard Henderson Committed by Richard Henderson

regclass.c (init_reg_sets_1): Don't assume cost 2 within a register class.

        * regclass.c (init_reg_sets_1): Don't assume cost 2 within
        a register class.

From-SVN: r45124
parent 1ba2bace
2001-08-23 Richard Henderson <rth@redhat.com>
* regclass.c (init_reg_sets_1): Don't assume cost 2 within
a register class.
2001-08-22 Geoffrey Keating <geoffk@redhat.com> 2001-08-22 Geoffrey Keating <geoffk@redhat.com>
* reload1.c (emit_reload_insns): Don't look for notes * reload1.c (emit_reload_insns): Don't look for notes
......
...@@ -518,7 +518,7 @@ init_reg_sets_1 () ...@@ -518,7 +518,7 @@ init_reg_sets_1 ()
} }
else else
{ {
cost = i == j ? 2 : REGISTER_MOVE_COST (m, i, j); cost = REGISTER_MOVE_COST (m, i, j);
for (p2 = &reg_class_subclasses[j][0]; for (p2 = &reg_class_subclasses[j][0];
*p2 != LIM_REG_CLASSES; *p2 != LIM_REG_CLASSES;
......
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