https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106804

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Yeah, the sink pass sink_common_stores_to_bb could be enhanced to do this
though it's somewhat questionable when doing so is profitable - it requires
two PHIs, one for the pointer and one for the stored value, which means
possibly two copies on the edge(es) to the common store.  In fact I'd say
the reverse transformation is more profitable?

Reply via email to