-
Notifications
You must be signed in to change notification settings - Fork 15.1k
llvm-reduce: Fix trailing whitespace in command guide #138240
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
Merged
arsenm
merged 1 commit into
main
from
users/arsenm/llvm-reduce/fix-trailing-whitespace-command-guide
May 2, 2025
Merged
llvm-reduce: Fix trailing whitespace in command guide #138240
arsenm
merged 1 commit into
main
from
users/arsenm/llvm-reduce/fix-trailing-whitespace-command-guide
May 2, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@llvm/pr-subscribers-llvm-binary-utilities Author: Matt Arsenault (arsenm) ChangesFull diff: https://github.com/llvm/llvm-project/pull/138240.diff 1 Files Affected:
diff --git a/llvm/docs/CommandGuide/llvm-reduce.rst b/llvm/docs/CommandGuide/llvm-reduce.rst
index 85111e6e29443..54fc2437b70cc 100644
--- a/llvm/docs/CommandGuide/llvm-reduce.rst
+++ b/llvm/docs/CommandGuide/llvm-reduce.rst
@@ -12,14 +12,14 @@ DESCRIPTION
-----------
The :program:`llvm-reduce` tool project that can be used for reducing the size of LLVM test cases.
-It works by removing redundant or unnecessary code from LLVM test cases while still preserving
+It works by removing redundant or unnecessary code from LLVM test cases while still preserving
their ability to detect bugs.
If ``input`` is "``-``", :program:`llvm-reduce` reads from standard
input. Otherwise, it will read from the specified ``filenames``.
-LLVM-Reduce is a useful tool for reducing the size and
-complexity of LLVM test cases, making it easier to identify and debug issues in
+LLVM-Reduce is a useful tool for reducing the size and
+complexity of LLVM test cases, making it easier to identify and debug issues in
the LLVM compiler infrastructure.
GENERIC OPTIONS
@@ -34,20 +34,20 @@ GENERIC OPTIONS
Abort if any reduction results in invalid IR
-.. option::--delta-passes=<string>
+.. option::--delta-passes=<string>
Delta passes to run, separated by commas. By default, run all delta passes.
-.. option:: --in-place
+.. option:: --in-place
WARNING: This option will replace your input file with the reduced version!
-.. option:: --ir-passes=<string>
+.. option:: --ir-passes=<string>
A textual description of the pass pipeline, same as what's passed to `opt -passes`.
-.. option:: -j <uint>
+.. option:: -j <uint>
Maximum number of threads to use to process chunks. Set to 1 to disable parallelism.
@@ -55,7 +55,7 @@ GENERIC OPTIONS
Maximum number of times to run the full set of delta passes (default=5).
-.. option:: --mtriple=<string>
+.. option:: --mtriple=<string>
Set the target triple.
@@ -63,11 +63,11 @@ GENERIC OPTIONS
Don't disable features used for crash debugging (crash reports, llvm-symbolizer and core dumps)
-.. option:: --print-delta-passes
+.. option:: --print-delta-passes
Print list of delta passes, passable to --delta-passes as a comma separated liste.
-.. option:: --skip-delta-passes=<string>
+.. option:: --skip-delta-passes=<string>
Delta passes to not run, separated by commas. By default, run all delta passes.
@@ -85,19 +85,19 @@ GENERIC OPTIONS
A lower granularity means that the reduction process operates at a more coarse-grained level,
while a higher granularity means that it operates at a more fine-grained level.
-.. option:: --test=<string>
+.. option:: --test=<string>
Name of the interesting-ness test to be run.
-.. option:: --test-arg=<string>
+.. option:: --test-arg=<string>
Arguments passed onto the interesting-ness test.
-.. option:: --verbose
+.. option:: --verbose
Print extra debugging information.
-
-.. option:: --write-tmp-files-as-bitcode
+
+.. option:: --write-tmp-files-as-bitcode
Always write temporary files as bitcode instead of textual IR.
|
jh7370
approved these changes
May 2, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
IanWood1
pushed a commit
to IanWood1/llvm-project
that referenced
this pull request
May 6, 2025
GeorgeARM
pushed a commit
to GeorgeARM/llvm-project
that referenced
this pull request
May 7, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.