[llvm-commits] CVS: llvm/lib/Transforms/Scalar/LoopUnswitch.cpp

Jeff Cohen jeffc at jolt-lang.org
Wed Feb 15 20:07:49 PST 2006



Changes in directory llvm/lib/Transforms/Scalar:

LoopUnswitch.cpp updated: 1.24 -> 1.25
---
Log message:

Fix VC++ warning.

---
Diffs of the changes:  (+0 -1)

 LoopUnswitch.cpp |    1 -
 1 files changed, 1 deletion(-)


Index: llvm/lib/Transforms/Scalar/LoopUnswitch.cpp
diff -u llvm/lib/Transforms/Scalar/LoopUnswitch.cpp:1.24 llvm/lib/Transforms/Scalar/LoopUnswitch.cpp:1.25
--- llvm/lib/Transforms/Scalar/LoopUnswitch.cpp:1.24	Wed Feb 15 19:24:41 2006
+++ llvm/lib/Transforms/Scalar/LoopUnswitch.cpp	Wed Feb 15 22:07:37 2006
@@ -426,7 +426,6 @@
 
   // 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






More information about the llvm-commits mailing list