Re: [PATCH 2/3] PHIOPT: Loop over calling factor_out_conditional_conversion

2023-05-07 Thread Richard Biener via Gcc-patches
On Sun, May 7, 2023 at 6:45 AM Andrew Pinski via Gcc-patches wrote: > > After adding diamond shaped bb support to factor_out_conditional_conversion, > we can get a case where we have two conversions that needs factored out > and then would have another phiopt happen. > An example is: > ``` > stati

[PATCH 2/3] PHIOPT: Loop over calling factor_out_conditional_conversion

2023-05-06 Thread Andrew Pinski via Gcc-patches
After adding diamond shaped bb support to factor_out_conditional_conversion, we can get a case where we have two conversions that needs factored out and then would have another phiopt happen. An example is: ``` static inline unsigned long long g(int t) { unsigned t1 = t; return t1; } unsigned l