aboutsummaryrefslogtreecommitdiff
path: root/unittests/Support/ConstantRangeTest.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-07-12 02:28:40 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-07-12 02:28:40 +0000
commitb2dcff443c152d5c5ecfa844a8ed83b184935ae6 (patch)
treeea6388b10f52122a59ec5f43a0e6a039256adbd0 /unittests/Support/ConstantRangeTest.cpp
parent2ff893f48698005f87163c8029224c718cf4cba9 (diff)
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
Diffstat (limited to 'unittests/Support/ConstantRangeTest.cpp')
-rw-r--r--unittests/Support/ConstantRangeTest.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/unittests/Support/ConstantRangeTest.cpp b/unittests/Support/ConstantRangeTest.cpp
index 4a9e972802..d11d776970 100644
--- a/unittests/Support/ConstantRangeTest.cpp
+++ b/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());
}