make ConstantRange::signExtend() optimal
authorNuno Lopes <nunoplopes@sapo.pt>
Wed, 30 Oct 2013 15:36:50 +0000 (15:36 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Wed, 30 Oct 2013 15:36:50 +0000 (15:36 +0000)
commitd3b64efcb33415e980035371b3e8de1e501a6f12
treed4fecab21ac4aef567387698868d03605b51f601
parentc385709d8397ca1535481c04564b67d07c66c619
make ConstantRange::signExtend() optimal
the case [x, INT_MIN) was not handled optimally

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193694 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/ConstantRange.cpp
unittests/Support/ConstantRangeTest.cpp