summaryrefslogtreecommitdiffstats
path: root/llvm/docs/ExceptionHandling.rst
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-03-20 18:16:02 +0000
committerNikita Popov <nikita.ppv@gmail.com>2019-03-20 18:16:02 +0000
commit00b5ecab5d8133fe437cf4668b46cb5d2716447f (patch)
treeea3416a1252194a9877e6e9cf48d64a35510da49 /llvm/docs/ExceptionHandling.rst
parent769c2459d5c201d98c9e96c868dae94e4c7ec1a2 (diff)
downloadbcm5719-llvm-00b5ecab5d8133fe437cf4668b46cb5d2716447f.tar.gz
bcm5719-llvm-00b5ecab5d8133fe437cf4668b46cb5d2716447f.zip
[ValueTracking] Compute range for abs without nsw
This is a small followup to D59511. The code that was moved into computeConstantRange() there is a bit overly conversative: If the abs is not nsw, it does not compute any range. However, abs without nsw still has a well-defined contiguous unsigned range from 0 to SIGNED_MIN. This is a lot less useful than the usual 0 to SIGNED_MAX range, but if we're already here we might as well specify it... Differential Revision: https://reviews.llvm.org/D59563 llvm-svn: 356586
Diffstat (limited to 'llvm/docs/ExceptionHandling.rst')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud