Commits on Source (2)
-
Sebastian Graf authored
SAT is most beneficial if we can specialise a recursive function for the static arguments at a call site by inlining it. From the standpoint of generated code, the SAT'd definition is very often inferior and will be inverted by our selective lambda lifting pass, which runs late in the STG pipeline. So we don't even want to execute the SAT'd code, just inline it if we can! So we just attach an INLINABLE unfolding to a SAT'able function with the non-recursive SAT'd RHS.
db633a78 -
Sebastian Graf authored
To see whether it breaks in CI and so on
1822f12a