This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: bug fix for reload reg selection
- To: bernds at redhat dot com (Bernd Schmidt)
- Subject: Re: bug fix for reload reg selection
- From: Joern Rennecke <amylaar at cambridge dot redhat dot com>
- Date: Wed, 28 Mar 2001 19:26:41 +0100 (BST)
- Cc: amylaar at cambridge dot redhat dot com (Joern Rennecke),gcc-patches at gcc dot gnu dot org
> > Wed Jan 24 16:13:51 2001 J"orn Rennecke <amylaar@redhat.com>
> >
> > * reload1.c (reload_reg_free_for_value_p): New parameter inheritance.
> > Changed all callers.
> > Ignore reload_reg_unavailable for read-only uses.
> > (free_for_value_p): New parameters inheritance and insn.
> > Changed all callers. For read-only uses, check insn - if set - for
> > clobbers of regno (using code broken out of choose_reload_regs).
> > (reload_inheritance): New function, broken out of choose_reload_regs.
> > (choose_reload_regs): Use it. Allow rld[r].out != 0 for equivalences
> > found with find_equiv_reg.
>
> Generally this looks like a good idea. I'll take a closer look once we're
> out of the code slush.
AFAIK we are - we got a branch.