Remove unused variables.
[oota-llvm.git] / 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");
-  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.