summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
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
commit9f90f965de85ccf8e7f4f83e9d21c4c447030c91 (patch)
tree0ed91db79aa9d18bdc8efc4fc5dc2d11b04b3486 /llvm/lib/Transforms
parentaf21e9550e36e6b8f1e7cce84fe4c75af976cd6b (diff)
downloadbcm5719-llvm-9f90f965de85ccf8e7f4f83e9d21c4c447030c91.tar.gz
bcm5719-llvm-9f90f965de85ccf8e7f4f83e9d21c4c447030c91.zip
Remove unused variables.
llvm-svn: 41028
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/LoopIndexSplit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopIndexSplit.cpp b/llvm/lib/Transforms/Scalar/LoopIndexSplit.cpp
index 110919c1bdf..216af727a45 100644
--- a/llvm/lib/Transforms/Scalar/LoopIndexSplit.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud