[llvm-commits] CVS: llvm/lib/Transforms/Utils/SimplifyCFG.cpp
Reid Spencer
reid at x10sys.com
Fri Oct 22 09:10:49 PDT 2004
Changes in directory llvm/lib/Transforms/Utils:
SimplifyCFG.cpp updated: 1.55 -> 1.56
---
Log message:
Eliminate compilation warning on uninitialized variable.
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Transforms/Utils/SimplifyCFG.cpp
diff -u llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1.55 llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1.56
--- llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1.55 Sun Oct 17 23:07:22 2004
+++ llvm/lib/Transforms/Utils/SimplifyCFG.cpp Fri Oct 22 11:10:39 2004
@@ -1172,7 +1172,7 @@
// instructions in the predecessor blocks can be promoted as well. If
// not, we won't be able to get rid of the control flow, so it's not
// worth promoting to select instructions.
- BasicBlock *DomBlock, *IfBlock1 = 0, *IfBlock2 = 0;
+ BasicBlock *DomBlock = 0, *IfBlock1 = 0, *IfBlock2 = 0;
if (CanPromote) {
PN = cast<PHINode>(BB->begin());
BasicBlock *Pred = PN->getIncomingBlock(0);
More information about the llvm-commits
mailing list