This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: reload CSE optimization
- To: John Carr <jfc at mit dot edu>
- Subject: Re: reload CSE optimization
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 09 Jun 1998 23:26:51 -0600
- cc: egcs at cygnus dot com, egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199806081825.OAA07957@jfc.>you write:
>
> 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).
>
> This patch also reduces the number of calls to gen_rtx_REG.
This looks fine to me. Can you please install it.
Thanks!
jeff