Skip to content

Commit

Permalink
[llvm][NFC] Document cl::opt MisExpectTolerance and fix typo
Browse files Browse the repository at this point in the history
Pull Request: #90670
  • Loading branch information
ilovepi committed May 13, 2024
1 parent 754ff0f commit 89a080c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion llvm/lib/Transforms/Utils/MisExpect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@ static cl::opt<bool> PGOWarnMisExpect(
cl::desc("Use this option to turn on/off "
"warnings about incorrect usage of llvm.expect intrinsics."));

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

} // namespace llvm
Expand Down

0 comments on commit 89a080c

Please sign in to comment.