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)
commit1112eca0afb3b919b44de6b8688c37dd5111a300
tree33a2254d31a892968c8406bfb98c01237a67abd6
parentab94b537d75278f93918b202417c23ad561a101b
make ConstantRange::signExtend() optimal
the case [x, INT_MIN) was not handled optimally

llvm-svn: 193694
llvm/lib/Support/ConstantRange.cpp
llvm/unittests/Support/ConstantRangeTest.cpp