Re: [PATCH] if-conv: Small improvement for expansion of complex PHIs [PR109154]

2023-04-15 Thread Richard Biener via Gcc-patches
> Am 15.04.2023 um 10:30 schrieb Jakub Jelinek via Gcc-patches > : > > Hi! > > The following patch is just a dumb improvement, gets rid of 2 unnecessary > instructions on both the PR's original testcase and on the two reduced ones, > both on -mcpu=neoverse-v1 and -mavx512f. > > The thing

[PATCH] if-conv: Small improvement for expansion of complex PHIs [PR109154]

2023-04-15 Thread Jakub Jelinek via Gcc-patches
Hi! The following patch is just a dumb improvement, gets rid of 2 unnecessary instructions on both the PR's original testcase and on the two reduced ones, both on -mcpu=neoverse-v1 and -mavx512f. The thing is, if we have args_len (args_len >= 2) unique PHI arguments, we need only args_len - 1