From 80747616b9ae5f1156954b87ba7502398573825a Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Sat, 17 Feb 2024 10:45:18 -0800 Subject: [PATCH] [llvm][misexpect][NFC] Fix typos in comments (#82124) --- llvm/include/llvm/Transforms/Utils/MisExpect.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/llvm/include/llvm/Transforms/Utils/MisExpect.h b/llvm/include/llvm/Transforms/Utils/MisExpect.h index be6deb1957f13f..e9fba47c97a4db 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 ExpectedWeights); @@ -63,7 +63,7 @@ void verifyMisExpect(Instruction &I, ArrayRef 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