@@ -27,7 +27,7 @@ namespace misexpect {
27
27
28
28
// / checkBackendInstrumentation - compares PGO counters to the thresholds used
29
29
// / 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
31
31
// / to the instruction, which are assumed to come from lowered llvm.expect
32
32
// / intrinsics. The RealWeights parameter and the extracted expected weights are
33
33
// / then passed to verifyMisexpect() for verification
@@ -39,15 +39,15 @@ void checkBackendInstrumentation(Instruction &I,
39
39
40
40
// / checkFrontendInstrumentation - compares PGO counters to the thresholds used
41
41
// / 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
43
43
// / to the instruction, which are assumed to come from profiling data
44
44
// / attached by the frontend prior to llvm.expect intrinsic lowering. The
45
45
// / ExpectedWeights parameter and the extracted real weights are then passed to
46
46
// / verifyMisexpect() for verification
47
47
// /
48
48
// / \param I The Instruction being checked
49
49
// / \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
51
51
void checkFrontendInstrumentation (Instruction &I,
52
52
const ArrayRef<uint32_t > ExpectedWeights);
53
53
@@ -63,7 +63,7 @@ void verifyMisExpect(Instruction &I, ArrayRef<uint32_t> RealWeights,
63
63
64
64
// / checkExpectAnnotations - compares PGO counters to the thresholds used
65
65
// / 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
67
67
// / to the instruction, which are assumed to come from lowered llvm.expect
68
68
// / intrinsics. The RealWeights parameter and the extracted expected weights are
69
69
// / then passed to verifyMisexpect() for verification. It is a thin wrapper
0 commit comments