Skip to content

Commit 89a080c

Browse files
committed
[llvm][NFC] Document cl::opt MisExpectTolerance and fix typo
Pull Request: llvm#90670
1 parent 754ff0f commit 89a080c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Transforms/Utils/MisExpect.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,10 @@ static cl::opt<bool> PGOWarnMisExpect(
5959
cl::desc("Use this option to turn on/off "
6060
"warnings about incorrect usage of llvm.expect intrinsics."));
6161

62+
// Command line option for setting the diagnostic tolerance threshold
6263
static cl::opt<uint32_t> MisExpectTolerance(
6364
"misexpect-tolerance", cl::init(0),
64-
cl::desc("Prevents emiting diagnostics when profile counts are "
65+
cl::desc("Prevents emitting diagnostics when profile counts are "
6566
"within N% of the threshold.."));
6667

6768
} // namespace llvm

0 commit comments

Comments
 (0)