diff options
author | Paul Kirth <paulkirth@google.com> | 2024-05-13 09:16:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-13 09:16:50 -0700 |
commit | d31e2cd593c51f30ba534c9471c36477f7f34b94 (patch) | |
tree | ebad2b59f61e7cbbc99724e81457209816b56f42 | |
parent | c60de044449eeef78c7bc8313de254a641001d4f (diff) |
[llvm][NFC] Document cl::opt MisExpectTolerance and fix typo (#90670)upstream/users/ilovepi/spr/main.llvmnfc-document-clopt-variable-and-fix-typo-3
-rw-r--r-- | llvm/lib/Transforms/Utils/MisExpect.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/MisExpect.cpp b/llvm/lib/Transforms/Utils/MisExpect.cpp index 6f5a25a26821..759289384ee0 100644 --- a/llvm/lib/Transforms/Utils/MisExpect.cpp +++ b/llvm/lib/Transforms/Utils/MisExpect.cpp @@ -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 |