mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 23:48:49 +00:00
fix typos; NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240585 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4c4aa792f5
commit
8e5b874f17
@ -2190,11 +2190,11 @@ bool llvm::FoldBranchToCommonDest(BranchInst *BI, unsigned BonusInstThreshold) {
|
||||
}
|
||||
|
||||
// If we have bonus instructions, clone them into the predecessor block.
|
||||
// Note that there may be mutliple predecessor blocks, so we cannot move
|
||||
// Note that there may be multiple predecessor blocks, so we cannot move
|
||||
// bonus instructions to a predecessor block.
|
||||
ValueToValueMapTy VMap; // maps original values to cloned values
|
||||
// We already make sure Cond is the last instruction before BI. Therefore,
|
||||
// every instructions before Cond other than DbgInfoIntrinsic are bonus
|
||||
// all instructions before Cond other than DbgInfoIntrinsic are bonus
|
||||
// instructions.
|
||||
for (auto BonusInst = BB->begin(); Cond != BonusInst; ++BonusInst) {
|
||||
if (isa<DbgInfoIntrinsic>(BonusInst))
|
||||
|
Loading…
Reference in New Issue
Block a user