This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: reload CSE optimization
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: reload CSE optimization
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 09 Jun 1998 23:27:18 -0600
- cc: John Carr <jfc at mit dot edu>, egcs at cygnus dot com, egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
In message <19980609185308.A15842@dot.cygnus.com>you write:
> On Mon, Jun 08, 1998 at 02:25:42PM -0400, John Carr wrote:
> >
> > Reload CSE should not replace a CONST_INT with a REG unless the REG is
> > cheaper. If they are equal cost other considerations make the original
> > form preferable (scheduling, human comprehension, and the principle that
> > one should avoid making changes with no benefit).
>
> There is an additional place this should be checked.
[ ... ]
This looks good too.
jeff