1
0
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:
Reid Kleckner 2021-07-26 12:20:48 -07:00
parent a85a7951e1
commit 2e5bfee63f

View File

@ -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());