This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] teach phi-opt to produce -(a COND b)
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: gcc-patches at gcc dot gnu dot org, rguenther at suse dot de, ubizjak at gmail dot com
- Date: Fri, 22 Jun 2012 05:23:17 -0700
- Subject: Re: [PATCH] teach phi-opt to produce -(a COND b)
- References: <1335520861-29252-1-git-send-email-bonzini@gnu.org> <CAMe9rOpwyNsXma9ef-z02eufFph8snkCYhSonRPoYWW2N4nDQA@mail.gmail.com>
On Fri, Apr 27, 2012 at 9:43 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Fri, Apr 27, 2012 at 3:01 AM, Paolo Bonzini <bonzini@gnu.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?
>>
>> Paolo
>>
>> 2012-04-27 ?Paolo Bonzini ?<bonzini@gnu.org>
>>
>> ? ? ? ?* tree-ssa-phiopt.c (conditional_replacement): Replace PHIs
>> ? ? ? ?whose arguments are -1 and 0, by negating the result of the
>> ? ? ? ?conditional.
>>
>
> This caused:
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53144
>
This also caused:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53748
--
H.J.