summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bearch.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-06-30 17:48:01 +0200
committerMatthias Braun <matze@braunis.de>2015-07-01 07:40:03 +0200
commit474447c7491747fdaf5bc7f8a05ae561fcb31420 (patch)
treeb698d2cc1dddec3e0f5615e9eb58db1ce79f0c03 /ir/be/bearch.c
parentc15ec9596306be5ea62c087d37024f0cac05d490 (diff)
bearch: rework must_be_different constraint
- Rename other_different field to must_be_different - Remove arch_register_req_type_must_be_different, it's enough to see if the must_be_different field is not zero.
Diffstat (limited to 'ir/be/bearch.c')
-rw-r--r--ir/be/bearch.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ir/be/bearch.c b/ir/be/bearch.c
index 10fae95..df63482 100644
--- a/ir/be/bearch.c
+++ b/ir/be/bearch.c
@@ -19,12 +19,12 @@
#include "raw_bitset.h"
arch_register_req_t const arch_no_requirement = {
- .cls = NULL,
- .limited = NULL,
- .type = arch_register_req_type_none,
- .should_be_same = 0,
- .other_different = 0,
- .width = 0,
+ .cls = NULL,
+ .limited = NULL,
+ .type = arch_register_req_type_none,
+ .should_be_same = 0,
+ .must_be_different = 0,
+ .width = 0,
};
static reg_out_info_t *get_out_info_n(const ir_node *node, unsigned pos)