Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[llvm][NFC] Document cl::opt variable and fix typo #86608

Conversation

ilovepi
Copy link
Contributor

@ilovepi ilovepi commented Mar 26, 2024

No description provided.

Created using spr 1.3.4
@llvmbot
Copy link
Collaborator

llvmbot commented Mar 26, 2024

@llvm/pr-subscribers-llvm-transforms

Author: Paul Kirth (ilovepi)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/86608.diff

1 Files Affected:

  • (modified) llvm/lib/Transforms/Utils/MisExpect.cpp (+2-1)
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<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

Created using spr 1.3.4
ilovepi added a commit to ilovepi/llvm-project that referenced this pull request Mar 26, 2024
@ilovepi ilovepi merged commit d3ae2f6 into users/ilovepi/spr/main.llvmnfc-document-clopt-variable-and-fix-typo Apr 2, 2024
5 checks passed
@ilovepi ilovepi deleted the users/ilovepi/spr/llvmnfc-document-clopt-variable-and-fix-typo branch April 2, 2024 17:36
@ilovepi ilovepi restored the users/ilovepi/spr/llvmnfc-document-clopt-variable-and-fix-typo branch April 25, 2024 23:06
@ilovepi ilovepi deleted the users/ilovepi/spr/llvmnfc-document-clopt-variable-and-fix-typo branch April 25, 2024 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants