This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Question about merging two instructions.
On Mon, Aug 22, 2005 at 03:37:27PM +0200, Paolo Bonzini wrote:
> It may still make sense changing the default case of
> simplify_replace_rtx to invoke replace_rtx rather than returning x. But
> this is unrelated, because nobody is currently passing a SET to
> simplify_replace_rtx (only expressions), and you should do the same:
> *you* said you want to replace on the RHS, so you really want to invoke
> simplify_replace_rtx on the RHS.
Agreed. If you're concerned about the LHS, use reg_overlap_mentioned_p
and abort the optimization.
r~