This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Store motion rewrite


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]