projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e77a8c
)
Fix VC++ warning.
author
Jeff Cohen
<jeffc@jolt-lang.org>
Thu, 16 Feb 2006 04:07:37 +0000
(
04:07
+0000)
committer
Jeff Cohen
<jeffc@jolt-lang.org>
Thu, 16 Feb 2006 04:07:37 +0000
(
04:07
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26228
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/LoopUnswitch.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/LoopUnswitch.cpp
b/lib/Transforms/Scalar/LoopUnswitch.cpp
index d36e59d9eca0e9d4fb9a889275b8ebcc8493efa2..2232ac754d56434737271f3daf03968f30567571 100644
(file)
--- a/
lib/Transforms/Scalar/LoopUnswitch.cpp
+++ b/
lib/Transforms/Scalar/LoopUnswitch.cpp
@@
-426,7
+426,6
@@
BasicBlock *LoopUnswitch::SplitEdge(BasicBlock *BB, BasicBlock *Succ) {
// If the edge isn't critical, then BB has a single successor or Succ has a
// single pred. Split the block.
- BasicBlock *BlockToSplit;
BasicBlock::iterator SplitPoint;
if (BasicBlock *SP = Succ->getSinglePredecessor()) {
// If the successor only has a single pred, split the top of the successor