summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMaximilian Stemmer-Grabow <mail@mxsg.de>2021-06-03 16:20:23 +0200
committerAndreas Fried <andreas.fried@kit.edu>2021-12-02 12:57:28 +0100
commite602d07ae366f8b22b4e812c9a4210d837459c73 (patch)
tree5144ce4eaaad5d5cdcba7614bdc467ffd3f260d0
parent015760827b86118102326eda84db2d5e782525da (diff)
Remove outdated code notes
-rw-r--r--ir/be/becopyheur4.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/ir/be/becopyheur4.c b/ir/be/becopyheur4.c
index 79f5f39..33079ad 100644
--- a/ir/be/becopyheur4.c
+++ b/ir/be/becopyheur4.c
@@ -598,9 +598,8 @@ static void aff_chunk_assure_weight(co_mst_env_t *env, aff_chunk_t *c)
}
c->comp_reg_restr_count = register_restr_count;
+ c->weight = w;
- c->weight = w;
- // c->weight = bitset_popcount(c->nodes);
c->weight_consistent = true;
}
}
@@ -668,10 +667,7 @@ static void build_affinity_chunks(co_mst_env_t *env)
affinity_node_t *am = get_affinity_info(env->co, m);
n2->int_aff_neigh = count_interfering_aff_neighs(env, am);
}
- /*
- * these weights are pure hackery ;-).
- * It's not chriswue's fault but mine.
- */
+
edge.unscaled_weight = neigh->costs;
edge.weight = edge.unscaled_weight * compression_cost_scale;