Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions llvm/docs/CommandGuide/llvm-reduce.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -34,40 +34,40 @@ 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.

.. option:: --max-pass-iterations=<int>

Maximum number of times to run the full set of delta passes (default=5).

.. option:: --mtriple=<string>
.. option:: --mtriple=<string>

Set the target triple.

.. option:: --preserve-debug-environment

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.

Expand All @@ -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.

Expand Down
Loading