llvm.org GIT mirror llvm / b2dcff4
This is not overly conservative. Some = [10, 2730). A subset of that is [1024..2048) which covers every possible 10-bit pattern. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75411 91177308-0d34-0410-b5e6-96231b3b80d8 Nick Lewycky 10 years ago
1 changed file(s) with 0 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
148148 EXPECT_TRUE(TEmpty.isEmptySet());
149149 EXPECT_EQ(TOne, ConstantRange(APInt(One.getLower()).trunc(10),
150150 APInt(One.getUpper()).trunc(10)));
151 // TODO: ConstantRange is currently over-conservative here.
152151 EXPECT_TRUE(TSome.isFullSet());
153152 }
154153