ghc-8.8.0.20190613: The GHC API
Safe HaskellNone
LanguageHaskell2010

StgLiftLams.Transformation

Description

(Mostly) textbook instance of the lambda lifting transformation, selecting which bindings to lambda lift by consulting goodToLift.

Synopsis

Documentation

stgLiftLams :: DynFlags -> UniqSupply -> [InStgTopBinding] -> [OutStgTopBinding] Source #

Lambda lifts bindings to top-level deemed worth lifting (see goodToLift).