diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2018-12-17 17:45:18 +0000 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2018-12-17 17:45:18 +0000 |
commit | 221f3fc750b7a91ed3722805ca4ecc6c34922f10 (patch) | |
tree | e19d2e4c905238741a82f928722558e31880c8aa /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp | |
parent | 47eb63684d22c12b9defb99c394dbd10e26fefff (diff) | |
download | bcm5719-llvm-221f3fc750b7a91ed3722805ca4ecc6c34922f10.tar.gz bcm5719-llvm-221f3fc750b7a91ed3722805ca4ecc6c34922f10.zip |
[InstSimplify] Simplify saturating add/sub + icmp
If a saturating add/sub has one constant operand, then we can
determine the possible range of outputs it can produce, and simplify
an icmp comparison based on that.
The implementation is based on a similar existing mechanism for
simplifying binary operator + icmps.
Differential Revision: https://reviews.llvm.org/D55735
llvm-svn: 349369
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions