summaryrefslogtreecommitdiffhomepage
path: root/ir/be/becopyilp2.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2016-03-19 21:38:05 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2016-03-21 09:11:28 +0100
commitac50d9045566f9c1e0e2f58256958097f5d9b128 (patch)
treefcba64fb23da232db4417f6da4ed69fb38e4d354 /ir/be/becopyilp2.c
parente093e4847f92fb2283e9b45e8b513f4115774501 (diff)
be: Remove flag 'aligned' from register requirements.
It is the default for width != 1 now. Work on this never was finished, so it probably does not work anyway.
Diffstat (limited to 'ir/be/becopyilp2.c')
-rw-r--r--ir/be/becopyilp2.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ir/be/becopyilp2.c b/ir/be/becopyilp2.c
index ca961a9..8ebddb0 100644
--- a/ir/be/becopyilp2.c
+++ b/ir/be/becopyilp2.c
@@ -49,10 +49,7 @@ typedef struct local_env_t {
static unsigned check_alignment_constraints(ir_node *node)
{
const arch_register_req_t *req = arch_get_irn_register_req(node);
- // For larger than 1 variables, support only aligned constraints
- assert((req->aligned || req->width == 1) &&
- "Unaligned large (width > 1) variables not supported");
- return req->aligned && req->width > 1;
+ return req->width != 1;
}
static void make_color_var_name(char *buf, size_t buf_size,