fix corner case in ConstantRange::intersectWith().
authorNuno Lopes <nunoplopes@sapo.pt>
Fri, 18 May 2012 00:14:36 +0000 (00:14 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Fri, 18 May 2012 00:14:36 +0000 (00:14 +0000)
commitfbb7a73631e3c23510abb3904e8ad38c87ff2a24
tree432dd13e2b35e0979490e10e13c2d9862dc4000d
parent59c15e920c9873804f3150d0c13357696f09e300
fix corner case in ConstantRange::intersectWith().
this fixes the missed optimization I was seeing in the CorrelatedValuePropagation pass

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