Commit e7251366 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

be: Do not consider should_be_same in reg_req_has_constraint().

This is not a hard constraint like the others and does not break the register allocation, if a Perm is pushed across the node with should_be_same.
This restores the behavior before the register constraint reorganization and removes lots of xchgs in the testsuite again.
parent b5589034
......@@ -236,8 +236,7 @@ static inline bool reg_reqs_equal(const arch_register_req_t *req1,
static inline bool reg_req_has_constraint(const arch_register_req_t *req)
return req->limited != NULL || req->should_be_same != 0
|| req->must_be_different != 0 || req->ignore || req->aligned;
return req->limited || req->must_be_different != 0 || req->ignore || req->aligned;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment