This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Store motion rewrite
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- Cc: Roger Sayle <roger at www dot eyesopen dot com>,Toon Moene <toon at moene dot indiv dot nluug dot nl>,gcc-patches at gcc dot gnu dot org
- Date: Wed, 11 Jun 2003 12:50:27 +0200
- Subject: Re: [patch] Store motion rewrite
- References: <Pine.LNX.4.44.0304011919060.8554-100000@www.eyesopen.com> <20030405194101.GA6931@atrey.karlin.mff.cuni.cz>
> the problem was that REG_EQUAL notes were not updated when the value
> of MEM and register were no longer same. The patch below fixes it by
> dropping the notes reachable from the altered insn.
>
> Zdenek
>
> Changelog:
> * gcse.c (remove_reachable_equiv_notes): New.
> replace_store_insn): Call it. Update antic list.
> (store_killed_in_insn): Take REG_EQUAL notes into account.
> (build_store_vectors, delete_store): Add parameter to
> replace_store_insn call.
Has this patch been applied? If so, could you close PR optimization/10312?
--
Eric Botcazou