Remove unused variables.
authorReid Spencer <rspencer@reidspencer.com>
Sun, 12 Aug 2007 04:45:36 +0000 (04:45 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 12 Aug 2007 04:45:36 +0000 (04:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41028 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoopIndexSplit.cpp

index 110919c1bdff1629e8b82fd1b160a2b173e82997..216af727a452278d63fd1e66183069b7cf7f1ba6 100644 (file)
@@ -621,12 +621,12 @@ bool LoopIndexSplit::splitLoop(SplitInfo &SD) {
   if (L->contains(ExitDest))
     ExitDest = ExitInsn->getSuccessor(0);
   assert (!L->contains(ExitDest) && " Unable to find exit edge destination");
   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;
 
   //[*] 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.
 
   //[*] True loops exit edge enters False loop.
   //[*] Eliminate split condition's false branch from True loop.