This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [m68k] use precomputed values from current_frame
On Wed, Sep 24, 2003 at 07:46:37PM +0200, Bernardo Innocenti wrote:
> Then shall I keep it and add a test for reload_completed
> besides the test for the function id?
Yes.
> Hmmm where would one look to catch all places where
> the frame size and/or regs_ever_live change?
I *think* it's all done in alter_reg and mark_home_live.
Search for "regs_ever_live.*=" in reload*.c.
> Perhaps we could add new target hooks such as
> TARGET_NOTIFY_FRAME_CHANGE and TARGET_NOTIFY_REG_CHANGE.
I think we could do it in one hook, but yes, something like that.
r~