summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2015-06-24 20:07:50 +0000
committerSanjay Patel <spatel@rotateright.com>2015-06-24 20:07:50 +0000
commitadb110c372a55b1bb492605dd0fed9efa1fb6dc5 (patch)
treeb41352f1dc034308e8bd8f1b21849886aa95dd11
parentda1b637c8d88b018331d418a0447abea32581ff9 (diff)
downloadbcm5719-llvm-adb110c372a55b1bb492605dd0fed9efa1fb6dc5.tar.gz
bcm5719-llvm-adb110c372a55b1bb492605dd0fed9efa1fb6dc5.zip
fix typos; NFC
llvm-svn: 240585
-rw-r--r--llvm/lib/Transforms/Utils/SimplifyCFG.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
index 71aaa8808b0..7f3c4f7ad3e 100644
--- a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
+++ b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
@@ -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))
OpenPOWER on IntegriCloud