Clean up ConstantRange a bit:
authorNick Lewycky <nicholas@mxc.ca>
Wed, 11 Aug 2010 22:04:36 +0000 (22:04 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Wed, 11 Aug 2010 22:04:36 +0000 (22:04 +0000)
commit7f9ef4bb514d5a28637789d8f397dadd4344dc1b
tree8b94b927b25fd741e8e666bb9bd2c45defe050da
parent4fd393cc26bb75e81ecf19e795b27509e16d0550
Clean up ConstantRange a bit:
 - remove ashr which never worked.
 - fix lshr and shl and add tests.
 - remove dead function "intersect1Wrapped".
 - add a new sub method to subtract ranges, with test.

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