Commits

practicalswift committed 78c5264885b
Make scripts/pipeline_generator.py usable again. Before this commit: ``` $ utils/pass-pipeline/scripts/pipeline_generator.py utils/pass-pipeline/scripts/pipeline_generator.py Traceback (most recent call last): File "utils/pass-pipeline/scripts/pipeline_generator.py", line 15, in <module> normal_pipeline = [x for x in pass_pipeline_library.normal_passpipelines()] File "/path/to/swift/utils/pass-pipeline/src/pass_pipeline_library.py", line 106, in normal_passpipelines x.addPass(specialization_passlist()) NameError: global name 'specialization_passlist' is not defined ``` After this commit: ``` $ utils/pass-pipeline/scripts/pipeline_generator.py [ [ "HighLevel", "run_n_times", 2, "SimplifyCFG", … ```