Re: [PATCH 2/2] Split edge when edge locus and dest don't match

2022-10-11 Thread Richard Biener via Gcc-patches
On Tue, Oct 11, 2022 at 12:57 PM Jørgen Kvalsvik wrote: > > On 07/10/2022 13:45, Jørgen Kvalsvik wrote: > > On 07/10/2022 08:53, Richard Biener wrote: > >> On Thu, Oct 6, 2022 at 4:28 PM Jørgen Kvalsvik > >> wrote: > >>> > >>> On 06/10/2022 10:12, Richard Biener wrote: > On Wed, Oct 5, 2022

Re: [PATCH 2/2] Split edge when edge locus and dest don't match

2022-10-11 Thread Jørgen Kvalsvik via Gcc-patches
On 07/10/2022 13:45, Jørgen Kvalsvik wrote: > On 07/10/2022 08:53, Richard Biener wrote: >> On Thu, Oct 6, 2022 at 4:28 PM Jørgen Kvalsvik >> wrote: >>> >>> On 06/10/2022 10:12, Richard Biener wrote: On Wed, Oct 5, 2022 at 2:49 PM Martin Liška wrote: > > On 10/5/22 14:04, Jørgen

Re: [PATCH 2/2] Split edge when edge locus and dest don't match

2022-10-07 Thread Jørgen Kvalsvik via Gcc-patches
On 07/10/2022 08:53, Richard Biener wrote: > On Thu, Oct 6, 2022 at 4:28 PM Jørgen Kvalsvik > wrote: >> >> On 06/10/2022 10:12, Richard Biener wrote: >>> On Wed, Oct 5, 2022 at 2:49 PM Martin Liška wrote: On 10/5/22 14:04, Jørgen Kvalsvik via Gcc-patches wrote: > Edges with locus

Re: [PATCH 2/2] Split edge when edge locus and dest don't match

2022-10-07 Thread Richard Biener via Gcc-patches
On Thu, Oct 6, 2022 at 4:28 PM Jørgen Kvalsvik wrote: > > On 06/10/2022 10:12, Richard Biener wrote: > > On Wed, Oct 5, 2022 at 2:49 PM Martin Liška wrote: > >> > >> On 10/5/22 14:04, Jørgen Kvalsvik via Gcc-patches wrote: > >>> Edges with locus are candidates for splitting so that the edge with

Re: [PATCH 2/2] Split edge when edge locus and dest don't match

2022-10-06 Thread Jørgen Kvalsvik via Gcc-patches
On 06/10/2022 10:12, Richard Biener wrote: > On Wed, Oct 5, 2022 at 2:49 PM Martin Liška wrote: >> >> On 10/5/22 14:04, Jørgen Kvalsvik via Gcc-patches wrote: >>> Edges with locus are candidates for splitting so that the edge with >>> locus is the only edge out of a basic block, except when the

Re: [PATCH 2/2] Split edge when edge locus and dest don't match

2022-10-06 Thread Richard Biener via Gcc-patches
On Wed, Oct 5, 2022 at 2:49 PM Martin Liška wrote: > > On 10/5/22 14:04, Jørgen Kvalsvik via Gcc-patches wrote: > > Edges with locus are candidates for splitting so that the edge with > > locus is the only edge out of a basic block, except when the locuses > > match. The test checks the last

Re: [PATCH 2/2] Split edge when edge locus and dest don't match

2022-10-05 Thread Martin Liška
On 10/5/22 14:04, Jørgen Kvalsvik via Gcc-patches wrote: > Edges with locus are candidates for splitting so that the edge with > locus is the only edge out of a basic block, except when the locuses > match. The test checks the last (non-debug) statement in a basic block, > but this causes an

[PATCH 2/2] Split edge when edge locus and dest don't match

2022-10-05 Thread Jørgen Kvalsvik via Gcc-patches
Edges with locus are candidates for splitting so that the edge with locus is the only edge out of a basic block, except when the locuses match. The test checks the last (non-debug) statement in a basic block, but this causes an unnecessary split when the edge locus go to a block which