[llvm] [llvm-reduce][Docs] Add docs on --delta-passes option (PR #218158)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 22 13:01:03 PDT 2026


https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/218158

The option was listed, but missing a space meant that it was never rendered in the HTML. Also add some more information on the option.

Also fix another case of no spacing preventing the option from rendering.

Assisted by LLM.

>From 5bb7645d257ca2ce8ab4f863e832ec162b9596aa Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Sat, 22 Aug 2026 12:59:35 -0700
Subject: [PATCH] [llvm-reduce][Docs] Add docs on --delta-passes option

The option was listed, but missing a space meant that it was never
rendered in the HTML. Also add some more information on the option.

Assisted by LLM.
---
 llvm/docs/CommandGuide/llvm-reduce.rst | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/llvm/docs/CommandGuide/llvm-reduce.rst b/llvm/docs/CommandGuide/llvm-reduce.rst
index 54fc2437b70cc..1bba9020bc62e 100644
--- a/llvm/docs/CommandGuide/llvm-reduce.rst
+++ b/llvm/docs/CommandGuide/llvm-reduce.rst
@@ -34,10 +34,16 @@ 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.
+ A comma-separated list of delta passes to run. By default, :program:`llvm-reduce`
+ runs all available delta passes for the input format (IR or MIR). When specified,
+ only the listed passes will be executed, in the given order.
 
+ Available delta passes can be listed using :option:`--print-delta-passes`.
+ Specific passes can also be excluded using :option:`--skip-delta-passes`.
+ If an unrecognized pass name is specified, :program:`llvm-reduce` will report an
+ error and exit.
 
 .. option:: --in-place
 
@@ -65,13 +71,13 @@ GENERIC OPTIONS
 
 .. option:: --print-delta-passes
 
- Print list of delta passes, passable to --delta-passes as a comma separated liste.
+ Print list of delta passes, passable to :option:`--delta-passes` as a comma-separated list.
 
 .. option:: --skip-delta-passes=<string>
 
  Delta passes to not run, separated by commas. By default, run all delta passes.
 
-.. option::--skip-verify-interesting-after-counting-chunks
+.. option:: --skip-verify-interesting-after-counting-chunks
 
  Do not validate testcase is interesting after counting chunks. This
  will save time by avoiding extra executions of the interestingness



More information about the llvm-commits mailing list