Commit 4ed4859a authored by Christoph Mallon's avatar Christoph Mallon
Browse files

be: Remove duplicate dumps of register allocation information.

It is now done generically in dump_backend_info_hook().
parent 44352760
......@@ -51,7 +51,6 @@ static void TEMPLATE_dump_node(FILE *F, const ir_node *n, dump_reason_t reason)
break;
case dump_node_info_txt:
be_dump_reqs_and_registers(F, n);
break;
}
}
......
......@@ -86,8 +86,7 @@ static void amd64_dump_node(FILE *F, const ir_node *n, dump_reason_t reason)
case dump_node_nodeattr_txt:
break;
case dump_node_info_txt:
be_dump_reqs_and_registers(F, n);
case dump_node_info_txt: {
const amd64_attr_t *attr = get_amd64_attr_const(n);
amd64_op_mode_t const op_mode = attr->op_mode;
fprintf(F, "mode = %s\n", get_op_mode_string(op_mode));
......@@ -119,6 +118,7 @@ static void amd64_dump_node(FILE *F, const ir_node *n, dump_reason_t reason)
break;
}
}
}
}
static void init_amd64_attributes(ir_node *node, arch_irn_flags_t flags,
......
......@@ -90,8 +90,6 @@ static void arm_dump_node(FILE *F, const ir_node *n, dump_reason_t reason)
break;
case dump_node_info_txt:
be_dump_reqs_and_registers(F, n);
if (has_load_store_attr(n)) {
const arm_load_store_attr_t *attr
= get_arm_load_store_attr_const(n);
......
......@@ -554,8 +554,6 @@ static void dump_node(FILE *f, const ir_node *irn, dump_reason_t reason)
}
break;
case dump_node_info_txt:
be_dump_reqs_and_registers(f, irn);
if (be_is_IncSP(irn)) {
const be_incsp_attr_t *a
= (const be_incsp_attr_t*)get_irn_generic_attr_const(irn);
......
......@@ -187,8 +187,6 @@ static void ia32_dump_node(FILE *F, const ir_node *n, dump_reason_t reason)
break;
case dump_node_info_txt:
be_dump_reqs_and_registers(F, n);
/* dump op type */
fprintf(F, "op = ");
switch (get_ia32_op_type(n)) {
......
......@@ -77,8 +77,7 @@ static void sparc_dump_node(FILE *F, const ir_node *n, dump_reason_t reason)
case dump_node_mode_txt:
break;
case dump_node_info_txt:
be_dump_reqs_and_registers(F, n);
case dump_node_info_txt: {
const sparc_attr_t *sparc_attr = get_sparc_attr_const(n);
if (sparc_attr->immediate_value_entity) {
ir_fprintf(F, "entity: %+F (offset %d)\n",
......@@ -109,6 +108,7 @@ static void sparc_dump_node(FILE *F, const ir_node *n, dump_reason_t reason)
ir_fprintf(F, "conv to: %+F\n", attr->dest_mode);
}
break;
}
case dump_node_nodeattr_txt:
break;
......
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