mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
[SimplifyCFG] Fix typo in comment. NFC
llvm-svn: 309785
This commit is contained in:
parent
eb7a769c09
commit
1142dd4c6d
@ -2507,7 +2507,7 @@ bool llvm::FoldBranchToCommonDest(BranchInst *BI, unsigned BonusInstThreshold) {
|
||||
else {
|
||||
// For unconditional branch, check for a simple CFG pattern, where
|
||||
// BB has a single predecessor and BB's successor is also its predecessor's
|
||||
// successor. If such pattern exisits, check for CSE between BB and its
|
||||
// successor. If such pattern exists, check for CSE between BB and its
|
||||
// predecessor.
|
||||
if (BasicBlock *PB = BB->getSinglePredecessor())
|
||||
if (BranchInst *PBI = dyn_cast<BranchInst>(PB->getTerminator()))
|
||||
|
Loading…
Reference in New Issue
Block a user