X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeschednormal.c;h=c9f7c95114857f52dfb5228ab7031acb6ffefe96;hb=10d435353850d6f7c858e5b9e71fb06443855d95;hp=ffa77884826919f57fa80a3840c713d40b85d6d2;hpb=85f517eca982e6a4e1d1848eb67634ae33b70de9;p=libfirm diff --git a/ir/be/beschednormal.c b/ir/be/beschednormal.c index ffa778848..c9f7c9511 100644 --- a/ir/be/beschednormal.c +++ b/ir/be/beschednormal.c @@ -120,7 +120,7 @@ static int count_result(const ir_node* irn) if (mode == mode_T) return 1; - if (arch_get_register_req_out(irn)->type & arch_register_req_type_ignore) + if (arch_get_irn_register_req(irn)->type & arch_register_req_type_ignore) return 0; return 1; @@ -198,6 +198,8 @@ static int normal_tree_cost(ir_node* irn, instance_t *inst) mode = get_irn_mode(op); if (mode == mode_M) continue; + if (arch_get_irn_flags(op) & arch_irn_flags_not_scheduled) + continue; if (mode != mode_T && arch_irn_is_ignore(op)) continue; cost = MAX(fc->costs[i].cost + n_op_res, cost);