summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/redo.py
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-04-24 21:52:39 +0000
committerSanjay Patel <spatel@rotateright.com>2017-04-24 21:52:39 +0000
commit35c362ebbb21e19594722d4ab74ac99503e21b72 (patch)
treec56e81bc8bd80c2513082c51d3a7f757e8281997 /lldb/packages/Python/lldbsuite/test/redo.py
parent3460cdd4404504a2e4d5e7e79c3c8f715c64540f (diff)
downloadbcm5719-llvm-35c362ebbb21e19594722d4ab74ac99503e21b72.tar.gz
bcm5719-llvm-35c362ebbb21e19594722d4ab74ac99503e21b72.zip
[InstSimplify] use ConstantRange to simplify more and-of-icmps
We can simplify (and (icmp X, C1), (icmp X, C2)) to one of the icmps in many cases. I had to check some of these with Alive to prove to myself it's right, but everything seems to check out. Eg, the code in instcombine was completely ignoring predicates with mismatched signedness. Handling or-of-icmps would be a follow-up step. Differential Revision: https://reviews.llvm.org/D32143 llvm-svn: 301260
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/redo.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud