[llvm] 339711f - [docs] Linkify llvm-reduce and mention it is multi-threaded (#148904)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 15 11:14:02 PDT 2025


Author: Thurston Dang
Date: 2025-07-15T11:13:59-07:00
New Revision: 339711fbd07bb2deb092800a5af20daa85e589af

URL: https://github.com/llvm/llvm-project/commit/339711fbd07bb2deb092800a5af20daa85e589af
DIFF: https://github.com/llvm/llvm-project/commit/339711fbd07bb2deb092800a5af20daa85e589af.diff

LOG: [docs] Linkify llvm-reduce and mention it is multi-threaded (#148904)

Added: 
    

Modified: 
    llvm/docs/HowToSubmitABug.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/HowToSubmitABug.rst b/llvm/docs/HowToSubmitABug.rst
index 1935678b1da33..002087cc55e0a 100644
--- a/llvm/docs/HowToSubmitABug.rst
+++ b/llvm/docs/HowToSubmitABug.rst
@@ -112,15 +112,20 @@ If this does crash, then you should be able to debug this with the following
 Run this, then file a bug with the instructions and reduced .bc
 files that bugpoint emits.
 
-If bugpoint doesn't reproduce the crash, ``llvm-reduce`` is an alternative
-way to reduce LLVM IR. Create a script that repros the crash and run:
+If bugpoint doesn't reproduce the crash,
+:doc:`llvm-reduce <CommandGuide/llvm-reduce>` is an alternative way to reduce
+LLVM IR. Create a script that repros the crash and run:
 
 .. code-block:: bash
 
    llvm-reduce --test=path/to/script foo.bc
 
-which should produce reduced IR that reproduces the crash. Be warned the
-``llvm-reduce`` is still fairly immature and may crash.
+which should produce reduced IR that reproduces the crash.
+
+.. TIP::
+   ``llvm-reduce`` is still fairly immature and may crash. On the other hand,
+   unlike ``bugpoint``, ``llvm-reduce -j $NUM_THREADS`` is multi-threaded and
+   can therefore potentially be much faster.
 
 If none of the above work, you can get the IR before a crash by running the
 ``opt`` command with the ``--print-before-all --print-module-scope`` flags to


        


More information about the llvm-commits mailing list