[PATCH] D59959: [ConstantRange] Add unsigned and signed intersection type

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 29 03:41:10 PDT 2019


nikic updated this revision to Diff 192793.
nikic retitled this revision from "[ConstantRange] Add unsigned intersection type" to "[ConstantRange] Add unsigned and signed intersection type".
nikic edited the summary of this revision.
nikic added a comment.

Also add signed intersection type. I think that adding both makes the implementation more obvious in this case, as the logic for the range preference is extracted more neatly.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59959/new/

https://reviews.llvm.org/D59959

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: D59959.192793.patch
Type: text/x-patch
Size: 9299 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190329/924eed8d/attachment.bin>


More information about the llvm-commits mailing list