[PATCH] D60264: [ConstantRange] Add isNegative() and isNonNegative() methods
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 4 08:08:40 PDT 2019
nikic updated this revision to Diff 193716.
nikic marked 2 inline comments as done.
nikic added a comment.
Rename to isAllNegative() and isAllNonNegative(), explicitly check empty/full set in isNegative() implementation, add explicit test for full ranges.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60264/new/
https://reviews.llvm.org/D60264
Files:
llvm/include/llvm/IR/ConstantRange.h
llvm/lib/IR/ConstantRange.cpp
llvm/unittests/IR/ConstantRangeTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60264.193716.patch
Type: text/x-patch
Size: 4536 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190404/54cd7574/attachment.bin>
More information about the llvm-commits
mailing list