LLVM-REDUCE(1)
π NAME π
okay bestie, welcome to LLVM-REDUCE(1) β LLVMβs llvm-reduce page, aka the LLVM automatic testcase reducer. β¨
πΈ SYNOPSIS πΈ
llvm-reduce [options] [input...]
π¦ DESCRIPTION π¦
The llvm-reduce tool project is literally here to reduce the size of LLVM test cases. π
It works by removing redundant or unnecessary code from LLVM test cases while still preserving their ability to detect bugs. no cap, thatβs the whole point.
If input is -, 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 the LLVM compiler infrastructure. iconic behavior, honestly. π
π GENERIC OPTIONS π
--helpβ Display available options (--help-hiddenfor more). β¨--abort-on-invalid-reductionβ Abort if any reduction results in invalid IR. π--in-placeβ WARNING: This option will replace your input file with the reduced version! bestie please read that twice. π--ir-passes=<string>β A textual description of the pass pipeline, same as whatβs passed toopt -passes. π§-j <uint>β Maximum number of threads to use to process chunks. Set to1to disable parallelism. β‘--max-pass-iterations=<int>β Maximum number of times to run the full set of delta passes (default=5). π--mtriple=<string>β Set the target triple. π―--preserve-debug-environmentβ Donβt disable features used for crash debugging (crash reports,llvm-symbolizerand core dumps). π--print-delta-passesβ Print list of delta passes, passable to--delta-passesas a comma separatedliste. (yes,liste, thatβs what the page says π)--skip-delta-passes=<string>β Delta passes to not run, separated by commas. By default, run all delta passes. π«--starting-granularity-level=<uint>β Number of times to divide chunks prior to first test. π§©
Note : Granularity refers to the level of detail at which the reduction process operates. 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. π
--test=<string>β Name of the interesting-ness test to be run. π§ͺ--test-arg=<string>β Arguments passed onto the interesting-ness test. π--verboseβ Print extra debugging information. π--write-tmp-files-as-bitcodeβ Always write temporary files as bitcode instead of textual IR. πΎ-x={ir|mir}β Input language asirormir. π
π EXIT STATUS π
llvm-reduce returns 0 under normal operation. It returns a non-zero exit code if there were any errors. fr fr, thatβs the whole vibe check. π
π AUTHOR π
Maintained by the LLVM Team (https://llvm.org/). π«Ά
π COPYRIGHT π
2003-2023, LLVM Project π
thatβs the page, bestie β signed LLVM-REDUCE(1), source/version 17, dated 2023-12-01, mwah ππΈ
π¦ where this page comes from
- opensuse-leap 16.0: llvm17 17.0.6-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm17 17.0.6-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm17 17.0.6-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm17 17.0.6-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms