Re: [RFC] Remove VRP threader passes in exchange for better threading pre-VRP.

2021-10-20 Thread Jeff Law via Gcc-patches
On 10/20/2021 3:27 AM, Aldy Hernandez wrote: On Wed, Oct 20, 2021 at 1:00 AM Jeff Law wrote: On 10/18/2021 8:03 AM, Aldy Hernandez wrote: On 10/18/21 3:41 PM, Aldy Hernandez wrote: I've been experimenting with reducing the total number of threading passes, and I'd like to see if there'

Re: [RFC] Remove VRP threader passes in exchange for better threading pre-VRP.

2021-10-20 Thread Aldy Hernandez via Gcc-patches
On Wed, Oct 20, 2021 at 2:32 PM Andrew MacLeod wrote: > > On 10/20/21 5:27 AM, Aldy Hernandez wrote: > Oh? the float stuff isn't range related, just relations? you can > certainly register those and query/fold them See? I knew you'd get a bright idea. No. There's no time in this release

Re: [RFC] Remove VRP threader passes in exchange for better threading pre-VRP.

2021-10-20 Thread Andrew MacLeod via Gcc-patches
On 10/20/21 5:27 AM, Aldy Hernandez wrote: On Wed, Oct 20, 2021 at 1:00 AM Jeff Law wrote: On 10/18/2021 8:03 AM, Aldy Hernandez wrote: On 10/18/21 3:41 PM, Aldy Hernandez wrote: I've been experimenting with reducing the total number of threading passes, and I'd like to see if there's con

Re: [RFC] Remove VRP threader passes in exchange for better threading pre-VRP.

2021-10-20 Thread Aldy Hernandez via Gcc-patches
On Wed, Oct 20, 2021 at 1:00 AM Jeff Law wrote: > > > > On 10/18/2021 8:03 AM, Aldy Hernandez wrote: > > > > > > On 10/18/21 3:41 PM, Aldy Hernandez wrote: > > > >> I've been experimenting with reducing the total number of threading > >> passes, and I'd like to see if there's consensus/stomach for

Re: [RFC] Remove VRP threader passes in exchange for better threading pre-VRP.

2021-10-19 Thread Jeff Law via Gcc-patches
On 10/19/2021 1:33 AM, Aldy Hernandez wrote: On Tue, Oct 19, 2021 at 8:52 AM Richard Biener wrote: On Mon, Oct 18, 2021 at 4:03 PM Aldy Hernandez wrote: On 10/18/21 3:41 PM, Aldy Hernandez wrote: I've been experimenting with reducing the total number of threading passes, and I'd like t

Re: [RFC] Remove VRP threader passes in exchange for better threading pre-VRP.

2021-10-19 Thread Jeff Law via Gcc-patches
On 10/18/2021 8:03 AM, Aldy Hernandez wrote: On 10/18/21 3:41 PM, Aldy Hernandez wrote: I've been experimenting with reducing the total number of threading passes, and I'd like to see if there's consensus/stomach for altering the pipeline.  Note, that the goal is to remove forward threader

Re: [RFC] Remove VRP threader passes in exchange for better threading pre-VRP.

2021-10-19 Thread Jeff Law via Gcc-patches
On 10/18/2021 7:41 AM, Aldy Hernandez wrote: After some playing, it looks like if we enable fully-resolving mode in the *.thread passes immediately preceeding VRP, we can remove the VRP threading passes altogether, thus removing 2 threading passes (and forward threading passes at that!). Who

Re: [RFC] Remove VRP threader passes in exchange for better threading pre-VRP.

2021-10-19 Thread Aldy Hernandez via Gcc-patches
On Tue, Oct 19, 2021 at 11:06 AM Aldy Hernandez wrote: > > > > On 10/19/21 10:40 AM, Richard Biener wrote: > > On Tue, Oct 19, 2021 at 9:33 AM Aldy Hernandez wrote: > >> > >> On Tue, Oct 19, 2021 at 8:52 AM Richard Biener > >> wrote: > >>> > >>> On Mon, Oct 18, 2021 at 4:03 PM Aldy Hernandez wr

Re: [RFC] Remove VRP threader passes in exchange for better threading pre-VRP.

2021-10-19 Thread Aldy Hernandez via Gcc-patches
On 10/19/21 10:40 AM, Richard Biener wrote: On Tue, Oct 19, 2021 at 9:33 AM Aldy Hernandez wrote: On Tue, Oct 19, 2021 at 8:52 AM Richard Biener wrote: On Mon, Oct 18, 2021 at 4:03 PM Aldy Hernandez wrote: On 10/18/21 3:41 PM, Aldy Hernandez wrote: I've been experimenting with red

Re: [RFC] Remove VRP threader passes in exchange for better threading pre-VRP.

2021-10-19 Thread Richard Biener via Gcc-patches
On Tue, Oct 19, 2021 at 9:33 AM Aldy Hernandez wrote: > > On Tue, Oct 19, 2021 at 8:52 AM Richard Biener > wrote: > > > > On Mon, Oct 18, 2021 at 4:03 PM Aldy Hernandez wrote: > > > > > > > > > > > > On 10/18/21 3:41 PM, Aldy Hernandez wrote: > > > > > > > I've been experimenting with reducing t

Re: [RFC] Remove VRP threader passes in exchange for better threading pre-VRP.

2021-10-19 Thread Aldy Hernandez via Gcc-patches
On Tue, Oct 19, 2021 at 8:52 AM Richard Biener wrote: > > On Mon, Oct 18, 2021 at 4:03 PM Aldy Hernandez wrote: > > > > > > > > On 10/18/21 3:41 PM, Aldy Hernandez wrote: > > > > > I've been experimenting with reducing the total number of threading > > > passes, and I'd like to see if there's con

Re: [RFC] Remove VRP threader passes in exchange for better threading pre-VRP.

2021-10-18 Thread Richard Biener via Gcc-patches
On Mon, Oct 18, 2021 at 4:03 PM Aldy Hernandez wrote: > > > > On 10/18/21 3:41 PM, Aldy Hernandez wrote: > > > I've been experimenting with reducing the total number of threading > > passes, and I'd like to see if there's consensus/stomach for altering > > the pipeline. Note, that the goal is to

Re: [RFC] Remove VRP threader passes in exchange for better threading pre-VRP.

2021-10-18 Thread Aldy Hernandez via Gcc-patches
On 10/18/21 3:41 PM, Aldy Hernandez wrote: I've been experimenting with reducing the total number of threading passes, and I'd like to see if there's consensus/stomach for altering the pipeline. Note, that the goal is to remove forward threader clients, not the other way around. So, we shou

[RFC] Remove VRP threader passes in exchange for better threading pre-VRP.

2021-10-18 Thread Aldy Hernandez via Gcc-patches
The jump threading bits seem to have stabilized. The one or two open PRs can be fixed by the pending loop threading restrictions to loop rotation and loop headers. With all the pieces in play, we can finally explore altering the pipeline to reduce the jump threading passes. I know the jump threa