From 071e176667fb716aa4ffce5ad2365244e344f3d1 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Sun, 12 Jul 2009 02:28:40 +0000 Subject: [PATCH] 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 --- llvm/unittests/Support/ConstantRangeTest.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/unittests/Support/ConstantRangeTest.cpp b/llvm/unittests/Support/ConstantRangeTest.cpp index 4a9e972802c5..d11d776970ce 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()); }