From: David Given Date: Mon, 12 Dec 2016 22:47:05 +0000 (+0100) Subject: Don't record use-def data; we have a pass now that does this for us. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=0dce6b4c759509d45b76c6ae5f5a19d8189faa73;p=ack.git Don't record use-def data; we have a pass now that does this for us. --- diff --git a/mach/proto/mcg/pass_instructionselection.c b/mach/proto/mcg/pass_instructionselection.c index c68325529..3dc187c96 100644 --- a/mach/proto/mcg/pass_instructionselection.c +++ b/mach/proto/mcg/pass_instructionselection.c @@ -54,7 +54,6 @@ static void emit_reg(int child, int index) if (vreg) { hop_add_vreg_insel(current_hop, vreg, index); - array_appendu(&vreg->used, current_hop); } } @@ -146,7 +145,6 @@ static void constrain_output_reg(uint32_t attr) current_hop->output = vreg = new_vreg(); array_appendu(¤t_hop->outs, vreg); - vreg->defined = current_hop; vreg->type = find_type_from_constraint(attr); get_constraint(vreg)->attrs = attr;