allocate new register in find_auto_inc
Jonah Graham
gccmail@whalesolutions.ca
Thu Nov 14 07:37:00 GMT 2002
Can someone give me advice on how to allocate a new register during life analysis, specifically in find_auto_inc? I am working on an arch with no HAVE_POST_MODIFY_DISP but with HAVE_POST_MODIFY_REG. What I would like to do is load the immediate into the newly created register and then attempt_auto_inc.
I have tried using gen_reg_rtx() but that causes the compiler to ICE. I have also looked through some of the source code to try to figure out what I needed to do to create a register, but I got a little confused.
Any help would be greatly appreciated.
Thanks,
Jonah
More information about the Gcc
mailing list