[llvm-commits] CVS: llvm/lib/Transforms/Utils/SimplifyCFG.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat May 1 17:42:02 PDT 2004
Changes in directory llvm/lib/Transforms/Utils:
SimplifyCFG.cpp updated: 1.36 -> 1.37
---
Log message:
Fix my missing parens
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Transforms/Utils/SimplifyCFG.cpp
diff -u llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1.36 llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1.37
--- llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1.36 Sat May 1 17:36:37 2004
+++ llvm/lib/Transforms/Utils/SimplifyCFG.cpp Sat May 1 17:41:51 2004
@@ -816,7 +816,7 @@
if (BranchInst *PBI = dyn_cast<BranchInst>(OnlyPred->getTerminator()))
if (PBI->isConditional() &&
PBI->getCondition() == BI->getCondition() &&
- PBI->getSuccessor(0) != BB || PBI->getSuccessor(1) != BB) {
+ (PBI->getSuccessor(0) != BB || PBI->getSuccessor(1) != BB)) {
// Okay, the outcome of this conditional branch is statically
// knowable. Delete the outgoing CFG edge that is impossible to
// execute.
More information about the llvm-commits
mailing list