summaryrefslogtreecommitdiff
path: root/gcc/local-alloc.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-01-06 21:44:21 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-01-06 21:44:21 +0000
commit9efdc864865caf007d9100390961f3eb96c2f29d (patch)
tree54bfc1fe6771f19edc91548cfe23d42e3ec4848a /gcc/local-alloc.c
parent4fbc2ab915a74783c763a6ac83c86f5fb23f21d0 (diff)
downloadgcc-9efdc864865caf007d9100390961f3eb96c2f29d.tar.gz
* pa.h (DONT_RECORD_EQUIVALENCE): Kill.
* local-alloc.c (update_equiv_regs): Corresponding changes. * tm.texi (DONT_RECORD_EQUIVALENCE): Kill. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24541 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r--gcc/local-alloc.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c
index 85cb8af555b..0c7e2480edd 100644
--- a/gcc/local-alloc.c
+++ b/gcc/local-alloc.c
@@ -796,22 +796,6 @@ update_equiv_regs ()
note = find_reg_note (insn, REG_EQUAL, NULL_RTX);
-#ifdef DONT_RECORD_EQUIVALENCE
- /* Allow the target to reject promotions of some REG_EQUAL notes to
- REG_EQUIV notes.
-
- In some cases this can improve register allocation if the existence
- of the REG_EQUIV note is likely to increase the lifetime of a register
- that is likely to be spilled.
-
- It may also be necessary if the target can't handle certain constant
- expressions appearing randomly in insns, but for whatever reason
- those expressions must be considered legitimate constant expressions
- to prevent them from being forced into memory. */
- if (note && DONT_RECORD_EQUIVALENCE (note))
- note = NULL;
-#endif
-
if (REG_N_SETS (regno) != 1
&& (! note
|| ! function_invariant_p (XEXP (note, 0))