Re: [PATCH] Improve location for new statements in match-and-simplify phiopt

2021-12-18 Thread Richard Biener via Gcc-patches
On December 18, 2021 11:56:48 PM GMT+01:00, apinski--- via Gcc-patches wrote: >From: Andrew Pinski > >Before match-and-simplify was used in phiot, the location of the >new stamtents were all of that of the conditional, this adds that >back as I did not realize gimple_simplify didn't do that for

[PATCH] Improve location for new statements in match-and-simplify phiopt

2021-12-18 Thread apinski--- via Gcc-patches
From: Andrew Pinski Before match-and-simplify was used in phiot, the location of the new stamtents were all of that of the conditional, this adds that back as I did not realize gimple_simplify didn't do that for you. OK? Bootstrapped and tested on x86_64 with no regressions. gcc/ChangeLog: