Skip to content

Move free variable computation to after STG passes

Currently (we believe) CoreToStg is responsible for computing free variables. However, later STG transformations may invalidate this information.

It would make more sense to defer FV computation until the end of the STG pipeline.

Edited by Ben Gamari
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information