summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bearch.h
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-06-19 08:34:12 +0200
committerMatthias Braun <matze@braunis.de>2015-06-19 08:34:12 +0200
commitbd0bfb9fe11843421b22ba66e62c35c9a383e62e (patch)
treec99615903984e2bde9f81c283eb01dc2a776b66a /ir/be/bearch.h
parentc85d04f813a7c612b7f9b4d0eb296c6b54441304 (diff)
remove arch_register_req_type_limited, look whether the limited pointer is != NULL instead
Diffstat (limited to 'ir/be/bearch.h')
-rw-r--r--ir/be/bearch.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/ir/be/bearch.h b/ir/be/bearch.h
index 790e3de..cb5f3a7 100644
--- a/ir/be/bearch.h
+++ b/ir/be/bearch.h
@@ -24,10 +24,8 @@
* Different types of register allocation requirements.
*/
typedef enum arch_register_req_type_t {
- /** All registers in the class are allowed. */
+ /** No special type, but may still have a limited array set. */
arch_register_req_type_none = 0,
- /** Only a real subset of the class is allowed. */
- arch_register_req_type_limited = 1U << 0,
/** The register should be equal to another one at the node. */
arch_register_req_type_should_be_same = 1U << 1,
/** The register must be unequal from some other at the node. */
@@ -231,7 +229,7 @@ struct arch_register_req_t {
/** The register class this constraint belongs to. */
const arch_register_class_t *cls;
/** allowed register bitset (in case of wide-values this is only about the
- * first register) */
+ * first register). NULL if all registers are allowed. */
const unsigned *limited;
arch_register_req_type_t type; /**< The type of the constraint. */
/** Bitmask of ins which should use the same register (should_be_same). */