[patch] Store motion rewrite

Zdenek Dvorak rakdver@atrey.karlin.mff.cuni.cz
Wed Jun 11 10:52:00 GMT 2003


Hello,

> > 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?

no, the patch still is not approved.

Zdenek



More information about the Gcc-patches mailing list