[PATCH] Tighter upper bound for ConstantRange::binaryOr

Alex Malyshev lex.malyshev at gmail.com
Fri May 31 09:49:17 PDT 2013


Instead of always having INT_MAX as the upper bound,
use an all-ones bit vector whose MSB is the same as
the largest value across both ranges.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130531/da07153e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cr-or.patch
Type: application/octet-stream
Size: 2087 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130531/da07153e/attachment.obj>


More information about the llvm-commits mailing list