This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [ast-optimizer-branch]: Don't inline calls to constant functionsin loops
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 9 May 2002 23:03:03 -0400 (EDT)
- Subject: Re: [ast-optimizer-branch]: Don't inline calls to constant functionsin loops
On Thu, 9 May 2002, Daniel Berlin wrote:
> On Thu, 9 May 2002, Jason Merrill wrote:
>
> > >>>>> "Daniel" == Daniel Berlin <dberlin@dberlin.org> writes:
> >
> > > I'm working on this part as well.
> >
> > Cool, thanks.
> >
> > > Just make sure the vtable is marked as const, so i can detect the
> > > calculations as loop invariant.
> >
> > Do you mean set TREE_CONSTANT on the INDIRECT_REFs, as in this patch
> > (relative to my checkin of a minute ago)?
>
> Yup.
Just FYI, what i'm working on is "Register Promotion by Sparse Partial
Redundancy Elimination of Loads and Stores".
The load portions are trivial extensions to SSAPRE.
I've already got it done, i just need to test it more.
I'll get around to the store portions eventually (it's basically copying
the file, renaming some stuff, transposing some stuff, etc).
>
> >
> > Jason
> >
> >
>
>