Re: [PATCH] Improve match_simplify_replacement in phi-opt

2021-06-07 Thread Richard Biener via Gcc-patches
On Thu, Jun 3, 2021 at 7:32 AM apinski--- via Gcc-patches wrote: > > From: Andrew Pinski > > This improves match_simplify_replace in phi-opt to handle the > case where there is one cheap (non-call) preparation statement in the > middle basic block similar to xor_replacement and others. > This all

[PATCH] Improve match_simplify_replacement in phi-opt

2021-06-02 Thread apinski--- via Gcc-patches
From: Andrew Pinski This improves match_simplify_replace in phi-opt to handle the case where there is one cheap (non-call) preparation statement in the middle basic block similar to xor_replacement and others. This allows to remove xor_replacement which it does too. OK? Bootstrapped and tested

Re: [PATCH] Improve match_simplify_replacement in phi-opt

2021-06-02 Thread Richard Biener via Gcc-patches
On Wed, Jun 2, 2021 at 9:16 AM Andrew Pinski wrote: > > On Tue, Jun 1, 2021 at 11:46 PM Richard Biener via Gcc-patches > wrote: > > > > On Tue, Jun 1, 2021 at 9:07 PM apinski--- via Gcc-patches > > wrote: > > > > > > From: Andrew Pinski > > > > > > This improves match_simplify_replace in phi-op

Re: [PATCH] Improve match_simplify_replacement in phi-opt

2021-06-02 Thread Andrew Pinski via Gcc-patches
On Tue, Jun 1, 2021 at 11:46 PM Richard Biener via Gcc-patches wrote: > > On Tue, Jun 1, 2021 at 9:07 PM apinski--- via Gcc-patches > wrote: > > > > From: Andrew Pinski > > > > This improves match_simplify_replace in phi-opt to handle the > > case where there is one cheap preparation statement i

Re: [PATCH] Improve match_simplify_replacement in phi-opt

2021-06-01 Thread Richard Biener via Gcc-patches
On Tue, Jun 1, 2021 at 9:07 PM apinski--- via Gcc-patches wrote: > > From: Andrew Pinski > > This improves match_simplify_replace in phi-opt to handle the > case where there is one cheap preparation statement in the > middle basic block similar to xor_replacement and others. > This allows to remo

[PATCH] Improve match_simplify_replacement in phi-opt

2021-06-01 Thread apinski--- via Gcc-patches
From: Andrew Pinski This improves match_simplify_replace in phi-opt to handle the case where there is one cheap preparation statement in the middle basic block similar to xor_replacement and others. This allows to remove xor_replacement too. OK? Bootstrapped and tested on x86_64-linux-gnu with