[patch] Store motion rewrite

Eric Botcazou ebotcazou@libertysurf.fr
Wed Jun 11 11:04:00 GMT 2003


> 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



More information about the Gcc-patches mailing list