diff options
| author | Paul Kirth <paulkirth@google.com> | 2024-04-02 10:36:49 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-02 10:36:49 -0700 |
| commit | d3ae2f6b3de8a67ab1003a50fe56f9e12a19031c (patch) | |
| tree | 52756c4cc9db5e030f871e8541d533e2f62ed9a1 | |
| parent | c3fe1be7f610f536dc78d3ec2416b59ca4dd778a (diff) | |
[llvm][NFC] Document cl::opt variable and fix typo (#86608)users/ilovepi/spr/main.llvmnfc-document-clopt-variable-and-fix-typo
| -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 |
