This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] teach phi-opt to produce -(a COND b)


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

H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]