summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMaximilian Stemmer-Grabow <mail@mxsg.de>2021-07-12 18:30:06 +0200
committerAndreas Fried <andreas.fried@kit.edu>2021-12-02 12:57:28 +0100
commitc882fae9d9933c7658b3db64f99709991b46d550 (patch)
tree7c32d36edc0aebb68d99f371c0bbbf6fa3a3cd1f
parent67aa1788a692818f7b8627940765a8fe36346a76 (diff)
Rebased: Rename incompressibility flag
-rw-r--r--ir/be/becopyheur4.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ir/be/becopyheur4.c b/ir/be/becopyheur4.c
index a76b41f..1989b4a 100644
--- a/ir/be/becopyheur4.c
+++ b/ir/be/becopyheur4.c
@@ -138,7 +138,7 @@ typedef struct co_mst_irn_t {
/** The number of uses of this node that have a register restriction to be compressed. */
int comp_use_count;
- bool uncompressable : 1; /**< Mark this node as not compressible (for debug purposes). */
+ bool incompressible : 1; /**< Mark this node as not compressible (for debug purposes). */
} co_mst_irn_t;
static double scaled_edge_weight(const aff_edge_t * edge)
@@ -1274,9 +1274,9 @@ static void color_aff_chunk(co_mst_env_t *env, aff_chunk_t *c)
// Remove restrictions for compressible registers
if (!col_compressible
&& (req == comp_req_register_subset || req == comp_req_2addr_register_subset)
- && !node->uncompressable) {
+ && !node->incompressible) {
- node->uncompressable = true;
+ node->incompressible = true;
c->comp_reg_use_count -= node->comp_use_count;
c->comp_reg_restr_count -= node->comp_reg_restricted;
@@ -1309,8 +1309,8 @@ static void color_aff_chunk(co_mst_env_t *env, aff_chunk_t *c)
// Replace pruned requirements
if (env->get_compression_reqs) {
- if (node->uncompressable) {
- node->uncompressable = false;
+ if (node->incompressible) {
+ node->incompressible = false;
c->comp_reg_use_count += node->comp_use_count;
c->comp_reg_restr_count += node->comp_reg_restricted;