add ConstantRange::difference (to perform set difference/relative complement)
authorNuno Lopes <nunoplopes@sapo.pt>
Thu, 28 Jun 2012 16:10:13 +0000 (16:10 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Thu, 28 Jun 2012 16:10:13 +0000 (16:10 +0000)
commit62d7afad8faf7a1fbbf3402f8e23ce4ece9ab108
treed302bbdc65dd8eef01f8d303ac87c9db93d82da1
parentceb5bc7df1a3f6b1d4a301adf30f4d0e21bbaa15
add ConstantRange::difference (to perform set difference/relative complement)

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