Fix my missing parens

llvm-svn: 13307
This commit is contained in:
Chris Lattner 2004-05-01 22:41:51 +00:00
parent 82278b599b
commit 911e21e8ca

View File

@ -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.