[llvm-commits] CVS: llvm/lib/Transforms/Utils/SimplifyCFG.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Nov 29 23:47:48 PST 2004
Changes in directory llvm/lib/Transforms/Utils:
SimplifyCFG.cpp updated: 1.59 -> 1.60
---
Log message:
Squelch warning
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Transforms/Utils/SimplifyCFG.cpp
diff -u llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1.59 llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1.60
--- llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1.59 Mon Nov 29 22:01:44 2004
+++ llvm/lib/Transforms/Utils/SimplifyCFG.cpp Tue Nov 30 01:47:34 2004
@@ -601,7 +601,7 @@
for (succ_iterator SI = succ_begin(BB1), E = succ_end(BB1); SI != E; ++SI) {
PHINode *PN;
for (BasicBlock::iterator BBI = SI->begin();
- PN = dyn_cast<PHINode>(BBI); ++BBI) {
+ (PN = dyn_cast<PHINode>(BBI)); ++BBI) {
Value *BB1V = PN->getIncomingValueForBlock(BB1);
Value *BB2V = PN->getIncomingValueForBlock(BB2);
if (BB1V != BB2V) {
More information about the llvm-commits
mailing list