Re: From regno to pseudo?

2009-06-04 Thread Jeff Law
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

From regno to pseudo?

2009-06-03 Thread Steven Bosscher
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!

Re: From regno to pseudo?

2009-06-03 Thread Adam Nemet
Steven Bosscher stevenb@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.