[llvm-commits] [llvm] r50383 - /llvm/trunk/lib/Transforms/Scalar/DeadLoopElimination.cpp
Owen Anderson
resistor at mac.com
Mon Apr 28 17:39:24 PDT 2008
Author: resistor
Date: Mon Apr 28 19:39:24 2008
New Revision: 50383
URL: http://llvm.org/viewvc/llvm-project?rev=50383&view=rev
Log:
Remove debugging code.
Modified:
llvm/trunk/lib/Transforms/Scalar/DeadLoopElimination.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/DeadLoopElimination.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/DeadLoopElimination.cpp?rev=50383&r1=50382&r2=50383&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/DeadLoopElimination.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/DeadLoopElimination.cpp Mon Apr 28 19:39:24 2008
@@ -162,8 +162,6 @@
L->getUniqueExitBlocks(exitBlocks);
BasicBlock* exitBlock = exitBlocks[0];
- Function* F = L->getLoopLatch()->getParent();
-
for (Loop::block_iterator LI = L->block_begin(), LE = L->block_end();
LI != LE; ++LI)
for (BasicBlock::iterator BI = (*LI)->begin(), BE = (*LI)->end();
@@ -211,8 +209,6 @@
(*LI)->dropAllReferences();
}
- unsigned bar = 0;
-
for (Loop::block_iterator LI = L->block_begin(), LE = L->block_end();
LI != LE; ++LI) {
for (BasicBlock::iterator BI = (*LI)->begin(), BE = (*LI)->end();
More information about the llvm-commits
mailing list