summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-06-19 01:53:21 +0000
committerEric Christopher <echristo@gmail.com>2015-06-19 01:53:21 +0000
commit572e03a3965d783ea51d1844d202d822ad6e8f8c (patch)
tree96f1b5a8c88f8850cfce209df9164027ffd85886 /llvm/lib/Transforms/Scalar
parent175d633271c3b76535474168522578ca244aae5d (diff)
downloadbcm5719-llvm-572e03a3965d783ea51d1844d202d822ad6e8f8c.tar.gz
bcm5719-llvm-572e03a3965d783ea51d1844d202d822ad6e8f8c.zip
Fix "the the" in comments.
llvm-svn: 240112
Diffstat (limited to 'llvm/lib/Transforms/Scalar')
-rw-r--r--llvm/lib/Transforms/Scalar/JumpThreading.cpp2
-rw-r--r--llvm/lib/Transforms/Scalar/SampleProfile.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/JumpThreading.cpp b/llvm/lib/Transforms/Scalar/JumpThreading.cpp
index 1ebc6a5b1aa..1130d228acb 100644
--- a/llvm/lib/Transforms/Scalar/JumpThreading.cpp
+++ b/llvm/lib/Transforms/Scalar/JumpThreading.cpp
@@ -759,7 +759,7 @@ bool JumpThreading::ProcessBlock(BasicBlock *BB) {
if (CmpInst *CondCmp = dyn_cast<CmpInst>(CondInst)) {
// If we're branching on a conditional, LVI might be able to determine
- // it's value at the the branch instruction. We only handle comparisons
+ // it's value at the branch instruction. We only handle comparisons
// against a constant at this time.
// TODO: This should be extended to handle switches as well.
BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator());
diff --git a/llvm/lib/Transforms/Scalar/SampleProfile.cpp b/llvm/lib/Transforms/Scalar/SampleProfile.cpp
index 3480cd49912..c8dfa54a4aa 100644
--- a/llvm/lib/Transforms/Scalar/SampleProfile.cpp
+++ b/llvm/lib/Transforms/Scalar/SampleProfile.cpp
@@ -282,7 +282,7 @@ bool SampleProfileLoader::computeBlockWeights(Function &F) {
/// \brief Find equivalence classes for the given block.
///
/// This finds all the blocks that are guaranteed to execute the same
-/// number of times as \p BB1. To do this, it traverses all the the
+/// number of times as \p BB1. To do this, it traverses all the
/// descendants of \p BB1 in the dominator or post-dominator tree.
///
/// A block BB2 will be in the same equivalence class as \p BB1 if
OpenPOWER on IntegriCloud