[PATCH] D110908: [NPM] Automatic 'opt' pipeline reducer script.
Markus Lavin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 5 03:57:46 PDT 2021
markus updated this revision to Diff 377146.
markus added a comment.
Added option for automatic expansion of default pipelines. E.g. now one can do
./utils/reduce_pipeline.py --opt-binary=../build-debug/bin/opt --input=bbi-60925.ll --output=test2.ll --passes='default<O3>' --expand-passes
and that will expand the pipeline (using a separate `opt` invocation with `-print-pipeline-passes`) before starting the reduction. In this particular case there will be no reduction as the crash does not reproduce with the default pipeline but that is a different matter. One test has been added for the expansion using `fake_opt.py`.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110908/new/
https://reviews.llvm.org/D110908
Files:
llvm/utils/pipeline.py
llvm/utils/reduce_pipeline.py
llvm/utils/reduce_pipeline_test/fake_opt.py
llvm/utils/reduce_pipeline_test/test.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110908.377146.patch
Type: text/x-patch
Size: 17695 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211005/f5a9ba0b/attachment.bin>
More information about the llvm-commits
mailing list