Re: [PATCH] phiopt: Move check for maybe_undef_p slightly earlier

2024-10-28 Thread Richard Biener
On Mon, Oct 28, 2024 at 12:42 AM Andrew Pinski wrote: > > This moves the check for maybe_undef_p in match_simplify_replacement > slightly earlier before figuring out the true/false arg using arg0/arg1 > instead. > In most cases this is no difference in compile time; just in the case > there is an

[PATCH] phiopt: Move check for maybe_undef_p slightly earlier

2024-10-27 Thread Andrew Pinski
This moves the check for maybe_undef_p in match_simplify_replacement slightly earlier before figuring out the true/false arg using arg0/arg1 instead. In most cases this is no difference in compile time; just in the case there is an undef in the args there would be a slight compile time improvement