diff --git a/lib/Transforms/Scalar/IndVarSimplify.cpp b/lib/Transforms/Scalar/IndVarSimplify.cpp index 3d29fd68637..bfda9cda170 100644 --- a/lib/Transforms/Scalar/IndVarSimplify.cpp +++ b/lib/Transforms/Scalar/IndVarSimplify.cpp @@ -555,7 +555,6 @@ bool IndVarSimplify::runOnLoop(Loop *L, LPPassManager &LPM) { // Rewrite all induction variables in terms of the canonical induction // variable. - std::map InsertedSizes; while (!IndVars.empty()) { PHINode *PN = IndVars.back().first; Value *NewVal = Rewriter.expandCodeFor(IndVars.back().second, InsertPt);