[PATCH] Teach DAGCombiner to fold inverted bit tests
Rafael EspĂndola
rafael.espindola at gmail.com
Mon May 6 11:05:19 PDT 2013
since this reduces the occurrences of 'y', shouldn't it be in instcombine?
On 6 May 2013 01:25, David Majnemer <david.majnemer at gmail.com> wrote:
> This patch changes DAGCombiner to do the following:
> (xor (and x, y), y) -> (and (not x), y)
>
> This is nice because we avoid emitting an immediate twice for tagets like
> X86.
>
> --
> David Majnemer
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
More information about the llvm-commits
mailing list