[llvm-commits] CVS: llvm/lib/Transforms/Scalar/SimplifyCFG.cpp
Reid Spencer
reid at x10sys.com
Fri Dec 8 13:52:16 PST 2006
Changes in directory llvm/lib/Transforms/Scalar:
SimplifyCFG.cpp updated: 1.16 -> 1.17
---
Log message:
Incorporate any changes in the successor blocks into the result of
MarkAliveBlocks.
---
Diffs of the changes: (+1 -1)
SimplifyCFG.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Transforms/Scalar/SimplifyCFG.cpp
diff -u llvm/lib/Transforms/Scalar/SimplifyCFG.cpp:1.16 llvm/lib/Transforms/Scalar/SimplifyCFG.cpp:1.17
--- llvm/lib/Transforms/Scalar/SimplifyCFG.cpp:1.16 Wed Dec 6 11:46:33 2006
+++ llvm/lib/Transforms/Scalar/SimplifyCFG.cpp Fri Dec 8 15:52:01 2006
@@ -73,7 +73,7 @@
bool Changed = ConstantFoldTerminator(BB);
for (succ_iterator SI = succ_begin(BB), SE = succ_end(BB); SI != SE; ++SI)
- MarkAliveBlocks(*SI, Reachable);
+ Changed |= MarkAliveBlocks(*SI, Reachable);
return Changed;
}
More information about the llvm-commits
mailing list