Re: Fold comparisons between sqrt and zero

2015-10-27 Thread Richard Biener
On Tue, Oct 27, 2015 at 10:21 AM, Richard Sandiford wrote: > Richard Biener writes: >> On Mon, Oct 26, 2015 at 10:36 AM, Richard Sandiford >> wrote: >>> An upcoming patch adds a fold from hypot(x,x) to fabs(x)*sqrt(2). >>> This is unusual in that it could trigger in the gimplifier but would >>>

Fold comparisons between sqrt and zero

2015-10-27 Thread Richard Sandiford
Richard Biener writes: > On Mon, Oct 26, 2015 at 10:36 AM, Richard Sandiford > wrote: >> An upcoming patch adds a fold from hypot(x,x) to fabs(x)*sqrt(2). >> This is unusual in that it could trigger in the gimplifier but would >> require new SSA names to be created. This patch makes sure that we