From ae1790099762a04d52c25007714d0f50679a335c Mon Sep 17 00:00:00 2001 From: Hiroshi Inoue Date: Sat, 14 Apr 2018 08:59:00 +0000 Subject: [NFC] fix trivial typos in document and comments "not not" -> "not" etc llvm-svn: 330083 --- llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp | 2 +- llvm/lib/Transforms/Scalar/MergeICmps.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Transforms') diff --git a/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp b/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp index f38eb5b3c06..16e95b5f688 100644 --- a/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp +++ b/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp @@ -862,7 +862,7 @@ public: // Set the branch weights based on the count values. void setBranchWeights(); - // Annotate the value profile call sites all all value kind. + // Annotate the value profile call sites for all value kind. void annotateValueSites(); // Annotate the value profile call sites for one value kind. diff --git a/llvm/lib/Transforms/Scalar/MergeICmps.cpp b/llvm/lib/Transforms/Scalar/MergeICmps.cpp index 5635f54f491..bb1b8a53110 100644 --- a/llvm/lib/Transforms/Scalar/MergeICmps.cpp +++ b/llvm/lib/Transforms/Scalar/MergeICmps.cpp @@ -231,7 +231,7 @@ bool BCECmpBlock::doesOtherWork() const { DenseSet BlockInsts( {Lhs_.GEP, Rhs_.GEP, Lhs_.LoadI, Rhs_.LoadI, CmpI, BranchI}); // TODO(courbet): Can we allow some other things ? This is very conservative. - // We might be able to get away with anything does does not have any side + // We might be able to get away with anything does not have any side // effects outside of the basic block. // Note: The GEPs and/or loads are not necessarily in the same block. for (const Instruction &Inst : *BB) { -- cgit v1.2.3