Fix a typo (occured => occurred)Reported:https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005195
[NPM] Fix bug in llvm/utils/reduce_pipeline.pyLast minute changes in https://reviews.llvm.org/D110908 unfortunatelyintroduced a bug wrt automatic pipeline expansion. This patch fixes thatas well
[NPM] Fix bug in llvm/utils/reduce_pipeline.pyLast minute changes in https://reviews.llvm.org/D110908 unfortunatelyintroduced a bug wrt automatic pipeline expansion. This patch fixes thatas well as gets rid of a few redundant variables.Reviewed By: aeubanksDifferential Revision: https://reviews.llvm.org/D113177
show more ...
[NPM] Automatic 'opt' pipeline reducer script.Script for automatic 'opt' pipeline reduction for when using the newpass-manager (NPM). Based around the '-print-pipeline-passes' option.The reducti
[NPM] Automatic 'opt' pipeline reducer script.Script for automatic 'opt' pipeline reduction for when using the newpass-manager (NPM). Based around the '-print-pipeline-passes' option.The reduction algorithm consists of several phases (steps).Step #0: Verify that input fails with the given pipeline and make note of theerror code.Step #1: Split pipeline in two starting from front and move forward as long asfirst pipeline exits normally and the second pipeline fails with the expectederror code. Move on to step #2 with the IR from the split point and thepipeline from the second invocation.Step #2: Remove passes from end of the pipeline as long as the pipeline failswith the expected error code.Step #3: Make several sweeps over the remaining pipeline trying to remove onepass at a time. Repeat sweeps until unable to remove any more passes.Usage example:./utils/reduce_pipeline.py --opt-binary=./build-all-Debug/bin/opt --input=input.ll --output=output.ll --passes=PIPELINE [EXTRA-OPT-ARGS ...]Differential Revision: https://reviews.llvm.org/D110908