mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
[SimplifyCFG] Remove stale comment after d7378259aa, NFC
This commit is contained in:
parent
a85a7951e1
commit
2e5bfee63f
@ -2918,7 +2918,6 @@ bool SimplifyCFGOpt::SimplifyCondBranchToTwoReturns(BranchInst *BI,
|
|||||||
BasicBlock *FalseSucc = BI->getSuccessor(1);
|
BasicBlock *FalseSucc = BI->getSuccessor(1);
|
||||||
if (TrueSucc == FalseSucc)
|
if (TrueSucc == FalseSucc)
|
||||||
return false;
|
return false;
|
||||||
// NOTE: destinations may match, this could be degenerate uncond branch.
|
|
||||||
ReturnInst *TrueRet = cast<ReturnInst>(TrueSucc->getTerminator());
|
ReturnInst *TrueRet = cast<ReturnInst>(TrueSucc->getTerminator());
|
||||||
ReturnInst *FalseRet = cast<ReturnInst>(FalseSucc->getTerminator());
|
ReturnInst *FalseRet = cast<ReturnInst>(FalseSucc->getTerminator());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user