[PATCH] D40036: [ConstantRange] Support subtraction in makeGuaranteedNoWrapRegion.

Joel Galenson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 14 09:56:27 PST 2017


jgalenson created this revision.

Previously ConstantRange::makeGuaranteedNoWrapRegion only handled addition.  This adds support for subtraction.


https://reviews.llvm.org/D40036

Files:
  include/llvm/IR/ConstantRange.h
  lib/IR/ConstantRange.cpp
  unittests/IR/ConstantRangeTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40036.122864.patch
Type: text/x-patch
Size: 14019 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171114/ea1277b1/attachment-0001.bin>


More information about the llvm-commits mailing list