summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-09-05 21:55:33 +0000
committerDevang Patel <dpatel@apple.com>2008-09-05 21:55:33 +0000
commitd94269f90662c46410f244db8b7803ce019f4300 (patch)
tree6e7a55243d0189aaa1a01bfd2bd846ce3165eab6 /llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
parent23a37099b2f4f36a0c560046dba6c47020308798 (diff)
downloadbcm5719-llvm-d94269f90662c46410f244db8b7803ce019f4300.tar.gz
bcm5719-llvm-d94269f90662c46410f244db8b7803ce019f4300.zip
Remove unused map.
llvm-svn: 55861
Diffstat (limited to 'llvm/lib/Transforms/Scalar/IndVarSimplify.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/IndVarSimplify.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
index 3d29fd68637..bfda9cda170 100644
--- a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
+++ b/llvm/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<unsigned, Value*> InsertedSizes;
while (!IndVars.empty()) {
PHINode *PN = IndVars.back().first;
Value *NewVal = Rewriter.expandCodeFor(IndVars.back().second, InsertPt);
OpenPOWER on IntegriCloud