2020-02-28 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/93564
* ira-color.c (assign_hard_reg): Prefer smaller hard regno when we
do not honor reg alloc order.
+2020-02-28 Vladimir Makarov <vmakarov@redhat.com>
+
+ PR rtl-optimization/93564
+ * ira-color.c (assign_hard_reg): Prefer smaller hard regno when we
+ do not honor reg alloc order.
+
2020-02-27 Joel Hutton <Joel.Hutton@arm.com>
PR target/87612
}
if (min_cost > cost)
min_cost = cost;
- if (min_full_cost > full_cost)
+ if (min_full_cost > full_cost
+ || (!HONOR_REG_ALLOC_ORDER && min_full_cost == full_cost
+ && best_hard_regno > hard_regno))
{
min_full_cost = full_cost;
best_hard_regno = hard_regno;