Introduce ConstantRange.addWithNoSignedWrap
authorArtur Pilipenko <apilipenko@azulsystems.com>
Wed, 19 Oct 2016 14:44:23 +0000 (14:44 +0000)
committerArtur Pilipenko <apilipenko@azulsystems.com>
Wed, 19 Oct 2016 14:44:23 +0000 (14:44 +0000)
commited84103a1a3d8f81bd662c89607e274682df56a4
treee999cc6251f3c070b2dacd0055e7cc76a335d3ee
parent2cf1dc2add97f1f54b5561e83183d9b140cf422f
Introduce ConstantRange.addWithNoSignedWrap

To be used by upcoming change to IndVarSimplify

Reviewed By: sanjoy

Differential Revision: https://reviews.llvm.org/D25732

llvm-svn: 284597
llvm/include/llvm/IR/ConstantRange.h
llvm/lib/IR/ConstantRange.cpp
llvm/unittests/IR/ConstantRangeTest.cpp