This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH to remove unnecessary NOTE_INSN_DELETED
- To: richard dot earnshaw at arm dot com
- Subject: Re: PATCH to remove unnecessary NOTE_INSN_DELETED
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 04 Nov 1999 06:49:58 -0700
- cc: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner), bernds at cygnus dot co dot uk, gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <199911041256.MAA17092@cam-mail1.cambridge.arm.com>you write:
> I was thinking along the lines of (reg regnum assignednum) where regnum is
> the original number assigned to the reg at its creation, and assigned num
> is the currently assigned number; during reload the register would get
> assigned a hard register and the assignednum would become the hard
> register number. Assigned num is the number that would get munged as
> appropriate to reduce space.
regnum must get munged into the hard register once reload has done it's
thing. Else all those REGNO macros used all over the compiler would have
to get updated.
I still think we can put the pseudo into the other field so that you can get
at this information.
> However, your suggestion about being able to reference REGNO_POINTER_*
> after reload might lead to some interesting peephole opportunities if the
> information could be guaranteed to be still reliable.
Getting REGNO_POINTER_FLAG is pretty easy (it should just move into the
REG rtx). We could to the same with REGNO_POINTER_ALIGN.
jeff