summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/MergeICmps.cpp
diff options
context:
space:
mode:
authorHiroshi Inoue <inouehrs@jp.ibm.com>2018-01-19 10:55:29 +0000
committerHiroshi Inoue <inouehrs@jp.ibm.com>2018-01-19 10:55:29 +0000
commitd24ddcd6c48d29035016a75c6d7ff73d0669e43e (patch)
treea7a90a659342a44b1b557c5346a2e17c41402eba /llvm/lib/Transforms/Scalar/MergeICmps.cpp
parent5045eaf9b961b85f383c9270b1e0e61ed206939b (diff)
downloadbcm5719-llvm-d24ddcd6c48d29035016a75c6d7ff73d0669e43e.tar.gz
bcm5719-llvm-d24ddcd6c48d29035016a75c6d7ff73d0669e43e.zip
[NFC] fix trivial typos in comments
"the the" -> "the" llvm-svn: 322934
Diffstat (limited to 'llvm/lib/Transforms/Scalar/MergeICmps.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/MergeICmps.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/MergeICmps.cpp b/llvm/lib/Transforms/Scalar/MergeICmps.cpp
index 9869a3fb96f..6856d585536 100644
--- a/llvm/lib/Transforms/Scalar/MergeICmps.cpp
+++ b/llvm/lib/Transforms/Scalar/MergeICmps.cpp
@@ -127,7 +127,7 @@ class BCECmpBlock {
return Lhs_.Base() != nullptr && Rhs_.Base() != nullptr;
}
- // Assert the the block is consistent: If valid, it should also have
+ // Assert the block is consistent: If valid, it should also have
// non-null members besides Lhs_ and Rhs_.
void AssertConsistent() const {
if (IsValid()) {
@@ -552,7 +552,7 @@ bool processPhi(PHINode &Phi, const TargetLibraryInfo *const TLI) {
// - The last basic block (bb4 here) must branch unconditionally to bb_phi.
// It's the only block that contributes a non-constant value to the Phi.
// - All other blocks (b1, b2, b3) must have exactly two successors, one of
- // them being the the phi block.
+ // them being the phi block.
// - All intermediate blocks (bb2, bb3) must have only one predecessor.
// - Blocks cannot do other work besides the comparison, see doesOtherWork()
OpenPOWER on IntegriCloud