summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bearch.h
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2018-05-04 21:22:29 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2018-05-04 23:58:33 +0200
commit1959798de0b402e7a827434081a71e2163917509 (patch)
tree43c30c70efc3f8091b53f406a92e8f297897fee0 /ir/be/bearch.h
parent6a3fd9331e7c618ab76c5513e392e86e0ef87cd5 (diff)
be: Add a flag to allow registers of a class as input even if clobbered in an asm.
So far exactly x87 on ia32 was hard-coded.
Diffstat (limited to 'ir/be/bearch.h')
-rw-r--r--ir/be/bearch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ir/be/bearch.h b/ir/be/bearch.h
index 08b9330..b00d80e 100644
--- a/ir/be/bearch.h
+++ b/ir/be/bearch.h
@@ -194,6 +194,8 @@ struct arch_register_class_t {
class. */
/** don't do register allocation for this class */
bool manual_ra : 1;
+ /** Still allow clobbered registers as input. */
+ bool allow_clobber_input : 1;
};
static inline const arch_register_t *arch_register_for_index(