Re: [PATCH] Improve sinking with unrelated defs

2023-08-02 Thread Jeff Law via Gcc-patches
On 8/2/23 06:50, Richard Biener via Gcc-patches wrote: On Mon, 31 Jul 2023, Richard Biener wrote: statement_sink_location for loads is currently confused about stores that are not on the paths we are sinking across. The following avoids this by explicitely checking whether a block with a st

Re: [PATCH] Improve sinking with unrelated defs

2023-08-02 Thread Richard Biener via Gcc-patches
On Mon, 31 Jul 2023, Richard Biener wrote: > statement_sink_location for loads is currently confused about > stores that are not on the paths we are sinking across. The > following avoids this by explicitely checking whether a block > with a store is on any of those paths. To not perform too man

[PATCH] Improve sinking with unrelated defs

2023-07-31 Thread Richard Biener via Gcc-patches
statement_sink_location for loads is currently confused about stores that are not on the paths we are sinking across. The following avoids this by explicitely checking whether a block with a store is on any of those paths. To not perform too many walks over the sub-part of the CFG between the ori