From: Chris Lattner Date: Sat, 1 May 2004 22:41:51 +0000 (+0000) Subject: Fix my missing parens X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=951fdb9764ea7abd1f409712636cf80a86140d90;p=oota-llvm.git Fix my missing parens git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13307 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Utils/SimplifyCFG.cpp b/lib/Transforms/Utils/SimplifyCFG.cpp index 78454645b32..7f2060fbfc8 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(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.