Re: [PATCH] Control all jump threading passes with -fjump-threads.

2021-09-28 Thread Richard Biener via Gcc-patches
On Tue, Sep 28, 2021 at 11:42 AM Aldy Hernandez wrote: > > > > On 9/28/21 9:41 AM, Richard Biener wrote: > > On Tue, Sep 28, 2021 at 8:29 AM Jeff Law via Gcc-patches > > wrote: > >> > >> > >> > >> On 9/28/2021 12:17 AM, Aldy Hernandez wrote: > >>> On Tue, Sep 28, 2021 at 3:46 AM Jeff Law wrote:

Re: [PATCH] Control all jump threading passes with -fjump-threads.

2021-09-28 Thread Aldy Hernandez via Gcc-patches
On 9/28/21 9:41 AM, Richard Biener wrote: On Tue, Sep 28, 2021 at 8:29 AM Jeff Law via Gcc-patches wrote: On 9/28/2021 12:17 AM, Aldy Hernandez wrote: On Tue, Sep 28, 2021 at 3:46 AM Jeff Law wrote: On 9/27/2021 9:00 AM, Aldy Hernandez wrote: Last year I mentioned that -fthread-jumps

Re: [PATCH] Control all jump threading passes with -fjump-threads.

2021-09-28 Thread Richard Biener via Gcc-patches
On Tue, Sep 28, 2021 at 8:29 AM Jeff Law via Gcc-patches wrote: > > > > On 9/28/2021 12:17 AM, Aldy Hernandez wrote: > > On Tue, Sep 28, 2021 at 3:46 AM Jeff Law wrote: > >> > >> > >> On 9/27/2021 9:00 AM, Aldy Hernandez wrote: > >>> Last year I mentioned that -fthread-jumps was being ignored by

Re: [PATCH] Control all jump threading passes with -fjump-threads.

2021-09-27 Thread Jeff Law via Gcc-patches
On 9/28/2021 12:17 AM, Aldy Hernandez wrote: On Tue, Sep 28, 2021 at 3:46 AM Jeff Law wrote: On 9/27/2021 9:00 AM, Aldy Hernandez wrote: Last year I mentioned that -fthread-jumps was being ignored by the majority of our jump threading passes, and Jeff said he'd be in favor of fixing this.

Re: [PATCH] Control all jump threading passes with -fjump-threads.

2021-09-27 Thread Aldy Hernandez via Gcc-patches
On Tue, Sep 28, 2021 at 3:46 AM Jeff Law wrote: > > > > On 9/27/2021 9:00 AM, Aldy Hernandez wrote: > > Last year I mentioned that -fthread-jumps was being ignored by the > > majority of our jump threading passes, and Jeff said he'd be in favor > > of fixing this. > > > > This patch remedies the s

Re: [PATCH] Control all jump threading passes with -fjump-threads.

2021-09-27 Thread Jeff Law via Gcc-patches
On 9/27/2021 9:00 AM, Aldy Hernandez wrote: Last year I mentioned that -fthread-jumps was being ignored by the majority of our jump threading passes, and Jeff said he'd be in favor of fixing this. This patch remedies the situation, but it does change existing behavior. Currently -fthread-jump

[PATCH] Control all jump threading passes with -fjump-threads.

2021-09-27 Thread Aldy Hernandez via Gcc-patches
Last year I mentioned that -fthread-jumps was being ignored by the majority of our jump threading passes, and Jeff said he'd be in favor of fixing this. This patch remedies the situation, but it does change existing behavior. Currently -fthread-jumps is only enabled for -O2, -O3, and -Os. This me