CozySynthesizer / cozy

The collection synthesizer
https://cozy.uwplse.org
Apache License 2.0
209 stars 18 forks source link

Synthesize code with let-expressions #38

Closed Calvin-L closed 6 years ago

Calvin-L commented 6 years ago

While Cozy's IR does have an ELet node type that is fully supported by many parts of the code, the synthesizer does not generate code containing ELet nodes. Supporting ELet may allow the synthesizer to generate much better code in some cases by factoring out re-used variables.

This change will require: