diff options
author | Paul Kirth <paulkirth@google.com> | 2024-02-17 10:45:18 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-17 10:45:18 -0800 |
commit | 80747616b9ae5f1156954b87ba7502398573825a (patch) | |
tree | dc6c817af3944ab6b175fda081381c1e2704f3fd | |
parent | 5023fd09b43e9b7eee390a8552db7ebce6e2b15c (diff) |
[llvm][misexpect][NFC] Fix typos in comments (#82124)
-rw-r--r-- | llvm/include/llvm/Transforms/Utils/MisExpect.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/include/llvm/Transforms/Utils/MisExpect.h b/llvm/include/llvm/Transforms/Utils/MisExpect.h index be6deb1957f1..e9fba47c97a4 100644 --- a/llvm/include/llvm/Transforms/Utils/MisExpect.h +++ b/llvm/include/llvm/Transforms/Utils/MisExpect.h @@ -27,7 +27,7 @@ namespace misexpect { /// checkBackendInstrumentation - compares PGO counters to the thresholds used /// for llvm.expect and warns if the PGO counters are outside of the expected -/// range. It extracts the expected weights from the MD_prof weights attatched +/// range. It extracts the expected weights from the MD_prof weights attached /// to the instruction, which are assumed to come from lowered llvm.expect /// intrinsics. The RealWeights parameter and the extracted expected weights are /// then passed to verifyMisexpect() for verification @@ -39,7 +39,7 @@ void checkBackendInstrumentation(Instruction &I, /// checkFrontendInstrumentation - compares PGO counters to the thresholds used /// for llvm.expect and warns if the PGO counters are outside of the expected -/// range. It extracts the expected weights from the MD_prof weights attatched +/// range. It extracts the expected weights from the MD_prof weights attached /// to the instruction, which are assumed to come from profiling data /// attached by the frontend prior to llvm.expect intrinsic lowering. The /// ExpectedWeights parameter and the extracted real weights are then passed to @@ -47,7 +47,7 @@ void checkBackendInstrumentation(Instruction &I, /// /// \param I The Instruction being checked /// \param ExpectedWeights A vector of the expected weights for each target -/// block, this determines the threshold values used when emiting diagnostics +/// block, this determines the threshold values used when emitting diagnostics void checkFrontendInstrumentation(Instruction &I, const ArrayRef<uint32_t> ExpectedWeights); @@ -63,7 +63,7 @@ void verifyMisExpect(Instruction &I, ArrayRef<uint32_t> RealWeights, /// checkExpectAnnotations - compares PGO counters to the thresholds used /// for llvm.expect and warns if the PGO counters are outside of the expected -/// range. It extracts the expected weights from the MD_prof weights attatched +/// range. It extracts the expected weights from the MD_prof weights attached /// to the instruction, which are assumed to come from lowered llvm.expect /// intrinsics. The RealWeights parameter and the extracted expected weights are /// then passed to verifyMisexpect() for verification. It is a thin wrapper |