Re: [EXTERNAL] Re: [PATCH] tree-optimization/98956 Optimizing out boolean left shift

2021-11-30 Thread Navid Rahimi via Gcc-patches
, November 30, 2021 15:18 To: Navid Rahimi Cc: Navid Rahimi via Gcc-patches Subject: Re: [EXTERNAL] Re: [PATCH] tree-optimization/98956 Optimizing out boolean left shift On Tue, Nov 30, 2021 at 3:08 PM Navid Rahimi wrote: > > Hi Andrew, > > Thanks for your detailed comment. There are t

Re: [EXTERNAL] Re: [PATCH] tree-optimization/98956 Optimizing out boolean left shift

2021-11-30 Thread Andrew Pinski via Gcc-patches
sitate to correct > > me. > > > > 1) https://compiler-explorer.com/z/r46znh4Tj > > 2) https://compiler-explorer.com/z/K1so39dbK > > 3) https://alive2.llvm.org/ce/z/-54zZv > > > > Best wishes, > > Navid. > > > >

Re: [EXTERNAL] Re: [PATCH] tree-optimization/98956 Optimizing out boolean left shift

2021-11-30 Thread Andrew Pinski via Gcc-patches
gt; Navid. > > ________ > From: Andrew Pinski > Sent: Tuesday, November 30, 2021 14:03 > To: Navid Rahimi > Cc: Navid Rahimi via Gcc-patches > Subject: [EXTERNAL] Re: [PATCH] tree-optimization/98956 Optimizing out > boolean left shift > > O

Re: [EXTERNAL] Re: [PATCH] tree-optimization/98956 Optimizing out boolean left shift

2021-11-30 Thread Navid Rahimi via Gcc-patches
c-patches Subject: [EXTERNAL] Re: [PATCH] tree-optimization/98956 Optimizing out boolean left shift On Tue, Nov 30, 2021 at 8:35 AM Navid Rahimi via Gcc-patches wrote: > > Hi GCC community, > > This patch will add the missed pattern described in bug 98956 [1] to the > match.pd. The c

Re: [PATCH] tree-optimization/98956 Optimizing out boolean left shift

2021-11-30 Thread Andrew Pinski via Gcc-patches
On Tue, Nov 30, 2021 at 8:35 AM Navid Rahimi via Gcc-patches wrote: > > Hi GCC community, > > This patch will add the missed pattern described in bug 98956 [1] to the > match.pd. The codegen and correctness proof for this pattern is here [2,3] in > case anyone is curious. Tested on x86_64 Linux.

[PATCH] tree-optimization/98956 Optimizing out boolean left shift

2021-11-30 Thread Navid Rahimi via Gcc-patches
Hi GCC community, This patch will add the missed pattern described in bug 98956 [1] to the match.pd. The codegen and correctness proof for this pattern is here [2,3] in case anyone is curious. Tested on x86_64 Linux. Tree-optimization/98956: Adding new optimization to match.pd: