diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2009-07-12 02:28:40 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2009-07-12 02:28:40 +0000 |
commit | 071e176667fb716aa4ffce5ad2365244e344f3d1 (patch) | |
tree | 424910e5e7c5263d9bbf8337b8461d68e8448a94 /llvm/unittests/Support/ConstantRangeTest.cpp | |
parent | 2951c990cd0e13f4face58a5b785526b6cd3e740 (diff) | |
download | llvm-071e176667fb716aa4ffce5ad2365244e344f3d1.zip llvm-071e176667fb716aa4ffce5ad2365244e344f3d1.tar.gz llvm-071e176667fb716aa4ffce5ad2365244e344f3d1.tar.bz2 |
This is not overly conservative.
Some = [10, 2730). A subset of that is [1024..2048) which covers every possible
10-bit pattern.
llvm-svn: 75411
Diffstat (limited to 'llvm/unittests/Support/ConstantRangeTest.cpp')
-rw-r--r-- | llvm/unittests/Support/ConstantRangeTest.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/unittests/Support/ConstantRangeTest.cpp b/llvm/unittests/Support/ConstantRangeTest.cpp index 4a9e972..d11d776 100644 --- a/llvm/unittests/Support/ConstantRangeTest.cpp +++ b/llvm/unittests/Support/ConstantRangeTest.cpp @@ -149,7 +149,6 @@ TEST_F(ConstantRangeTest, Trunc) { EXPECT_TRUE(TEmpty.isEmptySet()); EXPECT_EQ(TOne, ConstantRange(APInt(One.getLower()).trunc(10), APInt(One.getUpper()).trunc(10))); - // TODO: ConstantRange is currently over-conservative here. EXPECT_TRUE(TSome.isFullSet()); } |