diff options
author | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2018-04-14 08:59:00 +0000 |
---|---|---|
committer | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2018-04-14 08:59:00 +0000 |
commit | ae1790099762a04d52c25007714d0f50679a335c (patch) | |
tree | 2ea7dd1e9a19273074e9c831086e7a7660f4ba73 /llvm/lib/Transforms | |
parent | b6efb9071775b4c46e567c213b4eb7871f5f2d2d (diff) | |
download | bcm5719-llvm-ae1790099762a04d52c25007714d0f50679a335c.tar.gz bcm5719-llvm-ae1790099762a04d52c25007714d0f50679a335c.zip |
[NFC] fix trivial typos in document and comments
"not not" -> "not" etc
llvm-svn: 330083
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/Transforms/Scalar/MergeICmps.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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<Instruction *> 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) { |