diff options
author | Chris Lattner <sabre@nondot.org> | 2004-05-01 22:41:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-05-01 22:41:51 +0000 |
commit | 951fdb9764ea7abd1f409712636cf80a86140d90 (patch) | |
tree | aa4f76a7e149e793a2308655338b6be03684dcce /lib/Transforms/Utils/SimplifyCFG.cpp | |
parent | 92da2c2053feda379726f34b227ca6ac3bcdaab4 (diff) |
Fix my missing parens
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13307 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/SimplifyCFG.cpp')
-rw-r--r-- | lib/Transforms/Utils/SimplifyCFG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/SimplifyCFG.cpp b/lib/Transforms/Utils/SimplifyCFG.cpp index 78454645b3..7f2060fbfc 100644 --- a/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/lib/Transforms/Utils/SimplifyCFG.cpp @@ -816,7 +816,7 @@ bool llvm::SimplifyCFG(BasicBlock *BB) { 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. |