From 89a080cb79972abae240c226090af9a3094e2269 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Mon, 25 Mar 2024 21:02:15 +0000 Subject: [PATCH] [llvm][NFC] Document cl::opt MisExpectTolerance and fix typo Pull Request: https://github.com/llvm/llvm-project/pull/90670 --- llvm/lib/Transforms/Utils/MisExpect.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/lib/Transforms/Utils/MisExpect.cpp b/llvm/lib/Transforms/Utils/MisExpect.cpp index 6f5a25a26821b6..759289384ee06d 100644 --- a/llvm/lib/Transforms/Utils/MisExpect.cpp +++ b/llvm/lib/Transforms/Utils/MisExpect.cpp @@ -59,9 +59,10 @@ static cl::opt 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 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