Delete an unused variable.
authorDan Gohman <gohman@apple.com>
Mon, 22 Jun 2009 00:19:17 +0000 (00:19 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 22 Jun 2009 00:19:17 +0000 (00:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73865 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ScalarEvolution.cpp

index 272aeb3a6bdd508d4de210d0ac19a002c3fc5cff..15d1c247639e89a20eb60e82df0560e0b6ce2bb5 100644 (file)
@@ -3832,7 +3832,6 @@ HowManyLessThans(const SCEV *LHS, const SCEV *RHS,
     // FORNOW: We only support unit strides.
     unsigned BitWidth = getTypeSizeInBits(AddRec->getType());
     SCEVHandle Step = AddRec->getStepRecurrence(*this);
-    SCEVHandle NegOne = getIntegerSCEV(-1, AddRec->getType());
 
     // TODO: handle non-constant strides.
     const SCEVConstant *CStep = dyn_cast<SCEVConstant>(Step);