summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-08-12 04:45:36 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-08-12 04:45:36 +0000
commit9626a9c700c9a1c4c64b7972c8e0f9c57841e791 (patch)
tree0db7eb7370cf519d173609d879a936d45d22e26c
parentccb36a4f1bcafdf0de8514e396a5d2acf29d3947 (diff)
downloadexternal_llvm-9626a9c700c9a1c4c64b7972c8e0f9c57841e791.zip
external_llvm-9626a9c700c9a1c4c64b7972c8e0f9c57841e791.tar.gz
external_llvm-9626a9c700c9a1c4c64b7972c8e0f9c57841e791.tar.bz2
Remove unused variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41028 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Transforms/Scalar/LoopIndexSplit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/LoopIndexSplit.cpp b/lib/Transforms/Scalar/LoopIndexSplit.cpp
index 110919c..216af72 100644
--- a/lib/Transforms/Scalar/LoopIndexSplit.cpp
+++ b/lib/Transforms/Scalar/LoopIndexSplit.cpp
@@ -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.