diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2019-11-07 01:21:29 +0300 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2019-11-07 01:30:53 +0300 |
commit | 7fbe5d4b2ab905792158669149ae4f547761ac9c (patch) | |
tree | 6e1d7e2cfdd45aa9c941ac3403f14c19be330794 /lldb/source/Commands/CommandObjectCommands.h | |
parent | 365d729e1075a9391b7520306d8d9beee84d52b5 (diff) | |
download | bcm5719-llvm-7fbe5d4b2ab905792158669149ae4f547761ac9c.tar.gz bcm5719-llvm-7fbe5d4b2ab905792158669149ae4f547761ac9c.zip |
[ConstantRange] Add `subWithNoWrap()` method
Summary:
Much like D67339, adds ConstantRange handling for
when we know no-wrap behavior of the `sub`.
Unlike addWithNoWrap(), we only get lucky re returning empty set
for signed wrap. For unsigned, we must perform overflow check manually.
A patch that makes use of this in LVI (CVP) to be posted later.
Reviewers: nikic, shchenz, efriedma
Reviewed By: nikic
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69918
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.h')
0 files changed, 0 insertions, 0 deletions