diff options
author | Sanjay Patel <spatel@rotateright.com> | 2016-05-07 15:03:40 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2016-05-07 15:03:40 +0000 |
commit | c2751e7050b20be713d08b6e8001d57bb828c7ee (patch) | |
tree | 63634df4fea583e74b876eadf82048eaf4bc460a /lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py | |
parent | 65f088f5280dd1b41224263304fb824d981b722a (diff) | |
download | bcm5719-llvm-c2751e7050b20be713d08b6e8001d57bb828c7ee.tar.gz bcm5719-llvm-c2751e7050b20be713d08b6e8001d57bb828c7ee.zip |
[x86, BMI] add TLI hook for 'andn' and use it to simplify comparisons
For the sake of minimalism, this patch is x86 only, but I think that at least
PPC, ARM, AArch64, and Sparc probably want to do this too.
We might want to generalize the hook and pattern recognition for a target like
PPC that has a full assortment of negated logic ops (orc, nand).
Note that http://reviews.llvm.org/D18842 will cause this transform to trigger
more often.
For reference, this relates to:
https://llvm.org/bugs/show_bug.cgi?id=27105
https://llvm.org/bugs/show_bug.cgi?id=27202
https://llvm.org/bugs/show_bug.cgi?id=27203
https://llvm.org/bugs/show_bug.cgi?id=27328
Differential Revision: http://reviews.llvm.org/D19087
llvm-svn: 268858
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py')
0 files changed, 0 insertions, 0 deletions