summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMaximilian Stemmer-Grabow <mail@mxsg.de>2021-07-16 15:04:27 +0200
committerAndreas Fried <andreas.fried@kit.edu>2021-12-02 12:57:28 +0100
commite11796b0ffc2ff0ec42c963859935ca8d409f804 (patch)
tree6d2ba2246e7b88c9b6d4a2d02dfe2af746daebc3
parentc2ee125d020e1db99f12116d84564df007e59c88 (diff)
Move pruning of affinity edges to regalloc-prune-affinities for now
-rw-r--r--ir/be/becopyheur4.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/ir/be/becopyheur4.c b/ir/be/becopyheur4.c
index 1989b4a..c2b2749 100644
--- a/ir/be/becopyheur4.c
+++ b/ir/be/becopyheur4.c
@@ -1281,18 +1281,6 @@ static void color_aff_chunk(co_mst_env_t *env, aff_chunk_t *c)
c->comp_reg_use_count -= node->comp_use_count;
c->comp_reg_restr_count -= node->comp_reg_restricted;
}
-
- // Disable 2-address requirement edge if the register requirement cannot
- // be fulfilled anymore; this is only applicable if the current color is not from the
- // compressible color subset
- if (!col_compressible
- && req == comp_req_2addr_register_subset) {
- co_gs_foreach_neighb(aff_node, neighb) {
- if (neighb->aff_type == aff_edge_compression) {
- neighb->pruned = true;
- }
- }
- }
}
} else {
reject_coloring(&changed);