Re: [PATCH] Abstract PHI and forwarder block checks in jump threader.

2021-09-07 Thread Jeff Law via Gcc-patches
On 9/7/2021 7:23 AM, Aldy Hernandez wrote: On 9/7/21 2:59 PM, Richard Biener wrote: On September 7, 2021 12:02:27 PM GMT+02:00, Aldy Hernandez wrote: On 9/6/21 9:19 AM, Richard Biener wrote: On Fri, Sep 3, 2021 at 3:59 PM Aldy Hernandez via Gcc-patches wrote: This patch abstracts ou

Re: [PATCH] Abstract PHI and forwarder block checks in jump threader.

2021-09-07 Thread Aldy Hernandez via Gcc-patches
On 9/7/21 2:59 PM, Richard Biener wrote: On September 7, 2021 12:02:27 PM GMT+02:00, Aldy Hernandez wrote: On 9/6/21 9:19 AM, Richard Biener wrote: On Fri, Sep 3, 2021 at 3:59 PM Aldy Hernandez via Gcc-patches wrote: This patch abstracts out a couple common idioms in the forward thread

Re: [PATCH] Abstract PHI and forwarder block checks in jump threader.

2021-09-07 Thread Richard Biener via Gcc-patches
On September 7, 2021 12:02:27 PM GMT+02:00, Aldy Hernandez wrote: > > >On 9/6/21 9:19 AM, Richard Biener wrote: >> On Fri, Sep 3, 2021 at 3:59 PM Aldy Hernandez via Gcc-patches >> wrote: >>> >>> This patch abstracts out a couple common idioms in the forward >>> threader that I found useful while

Re: [PATCH] Abstract PHI and forwarder block checks in jump threader.

2021-09-07 Thread Aldy Hernandez via Gcc-patches
On 9/6/21 9:19 AM, Richard Biener wrote: On Fri, Sep 3, 2021 at 3:59 PM Aldy Hernandez via Gcc-patches wrote: This patch abstracts out a couple common idioms in the forward threader that I found useful while navigating the code base. Tested on x86-64 Linux. OK? gcc/ChangeLog: *

Re: [PATCH] Abstract PHI and forwarder block checks in jump threader.

2021-09-06 Thread Richard Biener via Gcc-patches
On Fri, Sep 3, 2021 at 3:59 PM Aldy Hernandez via Gcc-patches wrote: > > This patch abstracts out a couple common idioms in the forward > threader that I found useful while navigating the code base. > > Tested on x86-64 Linux. > > OK? > > gcc/ChangeLog: > > * tree-ssa-threadedge.c (has_phi

Re: [PATCH] Abstract PHI and forwarder block checks in jump threader.

2021-09-03 Thread Jeff Law via Gcc-patches
On 9/3/2021 7:56 AM, Aldy Hernandez wrote: This patch abstracts out a couple common idioms in the forward threader that I found useful while navigating the code base. Tested on x86-64 Linux. OK? gcc/ChangeLog: * tree-ssa-threadedge.c (has_phis_p): New. (forwarder_block_p):

[PATCH] Abstract PHI and forwarder block checks in jump threader.

2021-09-03 Thread Aldy Hernandez via Gcc-patches
This patch abstracts out a couple common idioms in the forward threader that I found useful while navigating the code base. Tested on x86-64 Linux. OK? gcc/ChangeLog: * tree-ssa-threadedge.c (has_phis_p): New. (forwarder_block_p): New. (potentially_threadable_block): Cal

[PATCH] Abstract PHI and forwarder block checks in jump threader.

2021-09-03 Thread Aldy Hernandez via Gcc-patches
This patch abstracts out a couple common idioms in the forward threader that I found useful while navigating the code base. Tested on x86-64 Linux. OK? gcc/ChangeLog: * tree-ssa-threadedge.c (has_phis_p): New. (forwarder_block_p): New. (potentially_threadable_block): Cal