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

Reply via email to