Clean up ConstantRange a bit:
commita1bccc58b83479dc744127a4a2c79f2f7d4f8862
authorNick Lewycky <nicholas@mxc.ca>
Wed, 11 Aug 2010 22:04:36 +0000 (11 22:04 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Wed, 11 Aug 2010 22:04:36 +0000 (11 22:04 +0000)
tree8b94b927b25fd741e8e666bb9bd2c45defe050da
parentff55e4c5486c4f56653d57f3390e978dd5ccc2ad
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