From: Jeff Law <law@redhat.com>
To: Steven Bosscher <stevenb.gcc@gmail.com>
Cc: GCC Mailing List <gcc@gcc.gnu.org>
Subject: Re: From regno to pseudo?
Date: Thu, 04 Jun 2009 22:24:00 -0000 [thread overview]
Message-ID: <4A2849BA.9060609@redhat.com> (raw)
In-Reply-To: <571f6b510906030900l48dfbbf0t228368c5a6a8b0cc@mail.gmail.com>
Steven Bosscher wrote:
> Hello,
>
> 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?
>
> Ciao!
> Steven
>
regno_reg_rtx[pseudo]
If you're dealing with a hard register, try ORIGINAL_REGNO
Jeff
prev parent reply other threads:[~2009-06-04 22:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-03 16:00 Steven Bosscher
2009-06-03 17:15 ` Adam Nemet
2009-06-04 22:24 ` Jeff Law [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A2849BA.9060609@redhat.com \
--to=law@redhat.com \
--cc=gcc@gcc.gnu.org \
--cc=stevenb.gcc@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).