[llvm] 8074761 - [llvm][misexpect][NFC] Fix typos in comments (#82124)

via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 17 10:45:22 PST 2024


Author: Paul Kirth
Date: 2024-02-17T10:45:18-08:00
New Revision: 80747616b9ae5f1156954b87ba7502398573825a

URL: https://github.com/llvm/llvm-project/commit/80747616b9ae5f1156954b87ba7502398573825a
DIFF: https://github.com/llvm/llvm-project/commit/80747616b9ae5f1156954b87ba7502398573825a.diff

LOG: [llvm][misexpect][NFC] Fix typos in comments (#82124)

Added: 
    

Modified: 
    llvm/include/llvm/Transforms/Utils/MisExpect.h

Removed: 
    


################################################################################
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<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


        


More information about the llvm-commits mailing list