Re: [PATCH 3/7] Try inverted comparison for match_simplify in phiopt

2021-06-20 Thread Richard Biener via Gcc-patches
On Sat, Jun 19, 2021 at 10:51 PM apinski--- via Gcc-patches wrote: > > From: Andrew Pinski > > Since match and simplify does not have all of the inverted > comparison patterns, it make sense to just have > phi-opt try to do the inversion and try match and simplify again. > > OK? Bootstrapped and

[PATCH 3/7] Try inverted comparison for match_simplify in phiopt

2021-06-19 Thread apinski--- via Gcc-patches
From: Andrew Pinski Since match and simplify does not have all of the inverted comparison patterns, it make sense to just have phi-opt try to do the inversion and try match and simplify again. OK? Bootstrapped and tested on x86_64-linux-gnu. Thanks, Andrew Pinski gcc/ChangeLog: * tree