diff options
author | Bernd Schmidt <bernds@cygnus.co.uk> | 1999-12-13 13:21:35 +0000 |
---|---|---|
committer | Bernd Schmidt <crux@gcc.gnu.org> | 1999-12-13 13:21:35 +0000 |
commit | f5d8c9f4053985a3694c56239b2c6a08b416bfa5 (patch) | |
tree | d9cb4c6b8528afdab21ca0ece166d271c5e19197 /gcc/reload.h | |
parent | 2cf4028a7c28adbbbcbda21a02bd851a140a8652 (diff) | |
download | gcc-f5d8c9f4053985a3694c56239b2c6a08b416bfa5.zip gcc-f5d8c9f4053985a3694c56239b2c6a08b416bfa5.tar.gz gcc-f5d8c9f4053985a3694c56239b2c6a08b416bfa5.tar.bz2 |
Simplify reload register allocation
From-SVN: r30890
Diffstat (limited to 'gcc/reload.h')
-rw-r--r-- | gcc/reload.h | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/gcc/reload.h b/gcc/reload.h index 953e059..52ede8d 100644 --- a/gcc/reload.h +++ b/gcc/reload.h @@ -231,25 +231,9 @@ struct insn_chain regset live_before; regset live_after; - /* For each class, size of group of consecutive regs - that is needed for the reloads of this class. */ - char group_size[N_REG_CLASSES]; - /* For each class, the machine mode which requires consecutive - groups of regs of that class. - If two different modes ever require groups of one class, - they must be the same size and equally restrictive for that class, - otherwise we can't handle the complexity. */ - enum machine_mode group_mode[N_REG_CLASSES]; - - /* Indicates if a register was counted against the need for - groups. 0 means it can count against max_nongroup instead. */ - HARD_REG_SET counted_for_groups; - - /* Indicates if a register was counted against the need for - non-groups. 0 means it can become part of a new group. - During choose_reload_regs, 1 here means don't use this reg - as part of a group, even if it seems to be otherwise ok. */ - HARD_REG_SET counted_for_nongroups; + /* Copies of the global variables computed by find_reloads. */ + struct reload *rld; + int n_reloads; /* Indicates which registers have already been used for spills. */ HARD_REG_SET used_spill_regs; |