Re: [x86_64 PATCH] PR middle-end/105135: Catch more cmov idioms in combine.

2022-04-21 Thread Uros Bizjak via Gcc-patches
c.target/i386/pr105135.c: New test case. > > Cheers, > Roger > -- > > > -Original Message- > > From: Uros Bizjak > > Sent: 20 April 2022 08:41 > > To: Roger Sayle > > Cc: gcc-patches@gcc.gnu.org > > Subject: Re: [x86_64 PATCH] PR middle-end/105135:

RE: [x86_64 PATCH] PR middle-end/105135: Catch more cmov idioms in combine.

2022-04-21 Thread Roger Sayle
> Cc: gcc-patches@gcc.gnu.org > Subject: Re: [x86_64 PATCH] PR middle-end/105135: Catch more cmov idioms in > combine. > > On Tue, Apr 19, 2022 at 1:58 PM Roger Sayle > wrote: > > > > > > This patch addresses PR middle-end/105135, a missed-optimization >

Re: [x86_64 PATCH] PR middle-end/105135: Catch more cmov idioms in combine.

2022-04-20 Thread Uros Bizjak via Gcc-patches
On Tue, Apr 19, 2022 at 1:58 PM Roger Sayle wrote: > > > This patch addresses PR middle-end/105135, a missed-optimization regression > affecting mainline. I agree with Jakub's comment that the middle-end > optimizations are sound, reducing basic blocks and conditional expressions > at the tree-le

[x86_64 PATCH] PR middle-end/105135: Catch more cmov idioms in combine.

2022-04-19 Thread Roger Sayle
This patch addresses PR middle-end/105135, a missed-optimization regression affecting mainline. I agree with Jakub's comment that the middle-end optimizations are sound, reducing basic blocks and conditional expressions at the tree-level, but requiring backend's to recognize conditional move inst