Re: [PATCH 3/3] PHIOPT: factor out unary operations instead of just conversions

2023-05-07 Thread Richard Biener via Gcc-patches
On Sun, May 7, 2023 at 6:44 AM Andrew Pinski via Gcc-patches wrote: > > After using factor_out_conditional_conversion with diamond bb, > we should be able do use it also for all normal unary gimple and not > just conversions. This allows to optimize PR 59424 for an example. > This is also a start

[PATCH 3/3] PHIOPT: factor out unary operations instead of just conversions

2023-05-06 Thread Andrew Pinski via Gcc-patches
After using factor_out_conditional_conversion with diamond bb, we should be able do use it also for all normal unary gimple and not just conversions. This allows to optimize PR 59424 for an example. This is also a start to optimize PR 64700 and a few others. OK? Bootstrapped and tested on x86_64-l