Re: [swift-dev] External pass pipeline YAML format

2017-06-29 Thread Michael Gottesman via swift-dev
> On Jun 29, 2017, at 12:50 PM, Vasileios Kalintiris wrote: > > I plan on writing a patch for this. Based on which branch should I create the > pull request? Is the swift-3.1-branch frozen? master. > > On Thu, Jun 29, 2017 at 7:27 PM, Michael Gottesman > wrote:

Re: [swift-dev] External pass pipeline YAML format

2017-06-29 Thread Vasileios Kalintiris via swift-dev
I plan on writing a patch for this. Based on which branch should I create the pull request? Is the swift-3.1-branch frozen? On Thu, Jun 29, 2017 at 7:27 PM, Michael Gottesman wrote: > > On Jun 28, 2017, at 10:15 AM, Vasileios Kalintiris via swift-dev < > swift-dev@swift.org> wrote: > > > Have yo

Re: [swift-dev] External pass pipeline YAML format

2017-06-29 Thread Michael Gottesman via swift-dev
> On Jun 28, 2017, at 10:15 AM, Vasileios Kalintiris via swift-dev > wrote: > > > Have you seen `utils/pass-pipeline/scripts/pipelines_build_script.py`, it > > looks like it might give some hints? > > I've tried generating a pass pipeline with > utils/pass-pipeline/scripts/pipelines_generato

Re: [swift-dev] External pass pipeline YAML format

2017-06-29 Thread Vasileios Kalintiris via swift-dev
> I suspect that we don't use the pass pipeline python scripts in our buildbots anymore and the relevant bits, ie. the code in SILPassPipelinePlan::getPassPipelineFromFile and/or the python scripts, have not been kept up-to-date. It seems that the following format works for the time being: [ [

Re: [swift-dev] External pass pipeline YAML format

2017-06-28 Thread Vasileios Kalintiris via swift-dev
> Have you seen `utils/pass-pipeline/scripts/pipelines_build_script.py`, it looks like it might give some hints? I've tried generating a pass pipeline with utils/pass-pipeline/scripts/pipelines_generator.py and use it with the -external-pass-pipeline-filename. However, AFAICT the generated pipelin

Re: [swift-dev] External pass pipeline YAML format

2017-06-28 Thread Daniel Dunbar via swift-dev
Have you seen `utils/pass-pipeline/scripts/pipelines_build_script.py`, it looks like it might give some hints? -- $ sgit grep external-pass-pipeline-filename include/swift/Option/FrontendOptions.td:def external_pass_pipeline_filename : Separate<["-"], "external-pass-pipeline-filename">, utils/pas

[swift-dev] External pass pipeline YAML format

2017-06-28 Thread Vasileios Kalintiris via swift-dev
Hi all, Please, let me know if I should post this to another list. I'm trying to figure out what is the expected YAML format of the -external-pass-pipeline-filename option. Dumping the pass pipeline under -O and feeding it back to the compiler with this option doesn't work (from swift-3.1-branch