summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beinfo.h
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-07-23 07:17:03 +0200
committerMatthias Braun <matze@braunis.de>2015-07-23 07:21:28 +0200
commit2c077dd1b15e9ab04a2421794f987e83dafa829a (patch)
treed958be52de12ce0c4f3e40a46aaabdf88fcd5b79 /ir/be/beinfo.h
parent1cf87be91d21eb4d86d9c04a4575c78b830cb66e (diff)
Add a way to specify additional register pressure for the first 4 register classes
I'm not proud of the 4 restriction but for now this works.
Diffstat (limited to 'ir/be/beinfo.h')
-rw-r--r--ir/be/beinfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ir/be/beinfo.h b/ir/be/beinfo.h
index f04e6f4..b041114 100644
--- a/ir/be/beinfo.h
+++ b/ir/be/beinfo.h
@@ -33,6 +33,8 @@ struct reg_out_info_t {
struct backend_info_t {
sched_info_t sched_info;
+ /** Additional register pressure for the fist 4 regclasses */
+ uint8_t add_pressure[4];
const arch_register_req_t **in_reqs;
reg_out_info_t *out_infos;
arch_irn_flags_t flags;