X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=ir%2Fbe%2Fbecopyilp2.c;h=95e6b42d6f7e8b46f614f1977e4e0a2dbc983c6a;hb=0f758eda285960164141e7e2d81f00f898f2ae7e;hp=0f952512509d4a1453c2ca9dc23de00726c4f063;hpb=0e5195711161c7a5d6b841cb614c10f58b216fa8;p=libfirm diff --git a/ir/be/becopyilp2.c b/ir/be/becopyilp2.c index 0f9525125..95e6b42d6 100644 --- a/ir/be/becopyilp2.c +++ b/ir/be/becopyilp2.c @@ -70,11 +70,8 @@ static unsigned check_alignment_constraints(ir_node *node) { const arch_register_req_t *req = arch_get_irn_register_req(node); // For larger than 1 variables, support only aligned constraints - assert(((!(req->type & arch_register_req_type_aligned) - && req->width == 1) - || (req->type & arch_register_req_type_aligned)) - && "Unaligned large (width > 1) variables not supported"); - return (req->type & arch_register_req_type_aligned) && req->width > 1; + assert((arch_register_req_is(req, aligned) || req->width == 1) && "Unaligned large (width > 1) variables not supported"); + return arch_register_req_is(req, aligned) && req->width > 1; } static void make_color_var_name(char *buf, size_t buf_size,