+2004-10-09 Steven Bosscher <stevenb@suse.de>
+
+ * regs.h (struct reg_info_def): Remove the last_node_uid and
+ changes_mode fields.
+ (REGNO_LAST_NOTE_UID): Don't define.
+ * regclass.c (reg_scan_mark_refs): Don't set REGNO_LAST_NOTE_UID.
+ * regmove.c (copy_src_to_dest): Likewise.
+
2004-10-09 Roger Sayle <roger@eyesopen.com>
PR middle-end/17894
if (regno >= min_regno)
{
- REGNO_LAST_NOTE_UID (regno) = INSN_UID (insn);
if (!note_flag)
REGNO_LAST_UID (regno) = INSN_UID (insn);
if (REGNO_FIRST_UID (regno) == 0)
if (REGNO_LAST_UID (src_regno) == insn_uid)
REGNO_LAST_UID (src_regno) = move_uid;
-
- if (REGNO_LAST_NOTE_UID (src_regno) == insn_uid)
- REGNO_LAST_NOTE_UID (src_regno) = move_uid;
}
}
{ /* fields set by reg_scan */
int first_uid; /* UID of first insn to use (REG n) */
int last_uid; /* UID of last insn to use (REG n) */
- int last_note_uid; /* UID of last note to use (REG n) */
/* fields set by reg_scan & flow_analysis */
int sets; /* # of times (REG n) is set */
int live_length; /* # of instructions (REG n) is live */
int calls_crossed; /* # of calls (REG n) is live across */
int basic_block; /* # of basic blocks (REG n) is used in */
- char changes_mode; /* whether (SUBREG (REG n)) exists and
- is illegal. */
} reg_info;
extern varray_type reg_n_info;
#define REGNO_LAST_UID(N) (VARRAY_REG (reg_n_info, N)->last_uid)
-/* Similar, but includes insns that mention the reg in their notes. */
-
-#define REGNO_LAST_NOTE_UID(N) (VARRAY_REG (reg_n_info, N)->last_note_uid)
-
/* List made of EXPR_LIST rtx's which gives pairs of pseudo registers
that have to go in the same hard reg. */
extern rtx regs_may_share;