This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] teach phi-opt to produce -(a COND b)
Il 27/04/2012 18:43, H.J. Lu ha scritto:
> On Fri, Apr 27, 2012 at 3:01 AM, Paolo Bonzini <firstname.lastname@example.org> wrote:
>> This patch teaches phiopt to look at phis whose arguments are -1 and 0,
>> and produce negated setcc statements.
>> Bootstrapped/regtested x86_64-pc-linux-gnu, together with the patch
>> for pr53138. Ok for mainline?
>> 2012-04-27 Paolo Bonzini <email@example.com>
>> * tree-ssa-phiopt.c (conditional_replacement): Replace PHIs
>> whose arguments are -1 and 0, by negating the result of the
> This caused:
The bug exists even in 4.7.0, so in some sense it's a good thing that
the testsuite reminds about it. :)