summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/LoopVR.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-07-29 22:41:10 +0000
committerDouglas Gregor <dgregor@apple.com>2009-07-29 22:41:10 +0000
commit47d02732e082e468dff1a96a925d38eebd7a1bb1 (patch)
treeeb7bedce9982099781f8d9ace6cbf21f7d35b88d /llvm/lib/Analysis/LoopVR.cpp
parent716dabbb1bd8d9b42f4e62c8d529bf29207cca70 (diff)
downloadbcm5719-llvm-47d02732e082e468dff1a96a925d38eebd7a1bb1.tar.gz
bcm5719-llvm-47d02732e082e468dff1a96a925d38eebd7a1bb1.zip
Eliminate a few unused-variable warnings
llvm-svn: 77519
Diffstat (limited to 'llvm/lib/Analysis/LoopVR.cpp')
-rw-r--r--llvm/lib/Analysis/LoopVR.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/LoopVR.cpp b/llvm/lib/Analysis/LoopVR.cpp
index 8ffac633d03..921d6ce06e9 100644
--- a/llvm/lib/Analysis/LoopVR.cpp
+++ b/llvm/lib/Analysis/LoopVR.cpp
@@ -43,8 +43,6 @@ ConstantRange LoopVR::getRange(const SCEV *S, const SCEV *T, ScalarEvolution &SE
if (const SCEVConstant *C = dyn_cast<SCEVConstant>(S))
return ConstantRange(C->getValue()->getValue());
- LLVMContext &Context = SE.getContext();
-
ConstantRange FullSet(cast<IntegerType>(S->getType())->getBitWidth(), true);
// {x,+,y,+,...z}. We detect overflow by checking the size of the set after
OpenPOWER on IntegriCloud