@@ -27,7 +27,7 @@ namespace misexpect {
2727
2828// / checkBackendInstrumentation - compares PGO counters to the thresholds used
2929// / for llvm.expect and warns if the PGO counters are outside of the expected
30- // / range. It extracts the expected weights from the MD_prof weights attatched
30+ // / range. It extracts the expected weights from the MD_prof weights attached
3131// / to the instruction, which are assumed to come from lowered llvm.expect
3232// / intrinsics. The RealWeights parameter and the extracted expected weights are
3333// / then passed to verifyMisexpect() for verification
@@ -39,15 +39,15 @@ void checkBackendInstrumentation(Instruction &I,
3939
4040// / checkFrontendInstrumentation - compares PGO counters to the thresholds used
4141// / for llvm.expect and warns if the PGO counters are outside of the expected
42- // / range. It extracts the expected weights from the MD_prof weights attatched
42+ // / range. It extracts the expected weights from the MD_prof weights attached
4343// / to the instruction, which are assumed to come from profiling data
4444// / attached by the frontend prior to llvm.expect intrinsic lowering. The
4545// / ExpectedWeights parameter and the extracted real weights are then passed to
4646// / verifyMisexpect() for verification
4747// /
4848// / \param I The Instruction being checked
4949// / \param ExpectedWeights A vector of the expected weights for each target
50- // / block, this determines the threshold values used when emiting diagnostics
50+ // / block, this determines the threshold values used when emitting diagnostics
5151void checkFrontendInstrumentation (Instruction &I,
5252 const ArrayRef<uint32_t > ExpectedWeights);
5353
@@ -63,7 +63,7 @@ void verifyMisExpect(Instruction &I, ArrayRef<uint32_t> RealWeights,
6363
6464// / checkExpectAnnotations - compares PGO counters to the thresholds used
6565// / for llvm.expect and warns if the PGO counters are outside of the expected
66- // / range. It extracts the expected weights from the MD_prof weights attatched
66+ // / range. It extracts the expected weights from the MD_prof weights attached
6767// / to the instruction, which are assumed to come from lowered llvm.expect
6868// / intrinsics. The RealWeights parameter and the extracted expected weights are
6969// / then passed to verifyMisexpect() for verification. It is a thin wrapper
0 commit comments