[llvm-commits] [llvm] r41028 - /llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp

Reid Spencer rspencer at reidspencer.com
Sat Aug 11 21:45:37 PDT 2007


Author: reid
Date: Sat Aug 11 23:45:36 2007
New Revision: 41028

URL: http://llvm.org/viewvc/llvm-project?rev=41028&view=rev
Log:
Remove unused variables.

Modified:
    llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp?rev=41028&r1=41027&r2=41028&view=diff

==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp Sat Aug 11 23:45:36 2007
@@ -621,12 +621,12 @@
   if (L->contains(ExitDest))
     ExitDest = ExitInsn->getSuccessor(0);
   assert (!L->contains(ExitDest) && " Unable to find exit edge destination");
-  BasicBlock *ExitSplitBlock = SplitEdge(ExitBlock, ExitDest, this);
+  SplitEdge(ExitBlock, ExitDest, this);
 
   //[*] Clone loop. Avoid true destination of split condition and 
   //    the blocks dominated by true destination. 
   DenseMap<const Value *, Value *> ValueMap;
-  Loop *FalseLoop = CloneLoop(L, LPM, LI, ValueMap, this);
+  CloneLoop(L, LPM, LI, ValueMap, this);
 
   //[*] True loops exit edge enters False loop.
   //[*] Eliminate split condition's false branch from True loop.





More information about the llvm-commits mailing list