Re: [PATCH] Avoid invalid loop transformations in jump threading registry.

2021-09-24 Thread Jeff Law via Gcc-patches
On 9/24/2021 5:34 AM, Aldy Hernandez wrote: On 9/23/21 6:10 PM, Jeff Law wrote: On 9/23/2021 5:15 AM, Aldy Hernandez wrote: My upcoming improvements to the forward jump threader make it thread more aggressively.  In investigating some "regressions", I noticed that it has always allowed t

Re: [PATCH] Avoid invalid loop transformations in jump threading registry.

2021-09-24 Thread Christophe LYON via Gcc-patches
On 23/09/2021 13:15, Aldy Hernandez via Gcc-patches wrote: My upcoming improvements to the forward jump threader make it thread more aggressively. In investigating some "regressions", I noticed that it has always allowed threading through empty latches and across loop boundaries. As we have d

Re: [PATCH] Avoid invalid loop transformations in jump threading registry.

2021-09-24 Thread Aldy Hernandez via Gcc-patches
On 9/23/21 6:10 PM, Jeff Law wrote: On 9/23/2021 5:15 AM, Aldy Hernandez wrote: My upcoming improvements to the forward jump threader make it thread more aggressively.  In investigating some "regressions", I noticed that it has always allowed threading through empty latches and across loop

Re: [PATCH] Avoid invalid loop transformations in jump threading registry.

2021-09-23 Thread Jeff Law via Gcc-patches
On 9/23/2021 5:15 AM, Aldy Hernandez wrote: My upcoming improvements to the forward jump threader make it thread more aggressively. In investigating some "regressions", I noticed that it has always allowed threading through empty latches and across loop boundaries. As we have discussed recen

[PATCH] Avoid invalid loop transformations in jump threading registry.

2021-09-23 Thread Aldy Hernandez via Gcc-patches
My upcoming improvements to the forward jump threader make it thread more aggressively. In investigating some "regressions", I noticed that it has always allowed threading through empty latches and across loop boundaries. As we have discussed recently, this should be avoided until after loop opti