This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: From regno to pseudo?
- From: Adam Nemet <anemet at caviumnetworks dot com>
- To: Steven Bosscher <stevenb dot gcc at gmail dot com>
- Cc: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Wed, 03 Jun 2009 10:11:42 -0700
- Subject: Re: From regno to pseudo?
- References: <571f6b510906030900l48dfbbf0t228368c5a6a8b0cc@mail.gmail.com>
Steven Bosscher <stevenb.gcc@gmail.com> writes:
> Is there a way to get the REG for a given regno? I am building a
> register renumbering map that is just a pair of unsigned int
> <old_regno, new_regno>, but I can't figure out how to get the REG for
> new_regno without remembering a pointer to it myself. Is there an
> easier/better way?
regno_reg_rtx in emit-rtl.c?
Adam