[llvm] r240585 - fix typos; NFC
Sanjay Patel
spatel at rotateright.com
Wed Jun 24 13:07:50 PDT 2015
Author: spatel
Date: Wed Jun 24 15:07:50 2015
New Revision: 240585
URL: http://llvm.org/viewvc/llvm-project?rev=240585&view=rev
Log:
fix typos; NFC
Modified:
llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp
Modified: llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp?rev=240585&r1=240584&r2=240585&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp Wed Jun 24 15:07:50 2015
@@ -2190,11 +2190,11 @@ bool llvm::FoldBranchToCommonDest(Branch
}
// 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))
More information about the llvm-commits
mailing list