mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-02 08:46:23 +00:00
Fix my missing parens
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13307 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
92da2c2053
commit
951fdb9764
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user