On Thu, Oct 8, 2015 at 12:10 PM, Richard Sandiford
wrote:
> Richard Biener writes:
>> On Mon, Oct 5, 2015 at 5:02 PM, Richard Sandiford
>> wrote:
>>> The upcoming patch to move sqrt and cbrt simplifications to match.pd
>>> caused a regression because the (abs @0)->@0 simplification didn't
>>> tr
Richard Biener writes:
> On Mon, Oct 5, 2015 at 5:02 PM, Richard Sandiford
> wrote:
>> The upcoming patch to move sqrt and cbrt simplifications to match.pd
>> caused a regression because the (abs @0)->@0 simplification didn't
>> trigger for:
>>
>> (abs (convert (abs X)))
>>
>> The simplificat
On Mon, Oct 5, 2015 at 5:02 PM, Richard Sandiford
wrote:
> The upcoming patch to move sqrt and cbrt simplifications to match.pd
> caused a regression because the (abs @0)->@0 simplification didn't
> trigger for:
>
> (abs (convert (abs X)))
>
> The simplification is based on tree_expr_nonnegati
The upcoming patch to move sqrt and cbrt simplifications to match.pd
caused a regression because the (abs @0)->@0 simplification didn't
trigger for:
(abs (convert (abs X)))
The simplification is based on tree_expr_nonnegative_p, which is
pretty weak for gimple (it gives up if it sees an SSA_N