attach unfoldings earlier (#16615)
Attach unfoldings earlier in the compilation pipeline. This isn't necessary for GHC's normal operation, because GHC already attaches unfoldings anywhere they are needed, but @michaelpj requested that we provide them anyway for a GHC plugin, which benefits from having unfoldings readily available at an earlier point. See #16615 for the full discussion / motivation.
-
are either individually buildable or squashed -
have commit messages which describe what they do (referring to [Notes][notes] and tickets using #NNNN
syntax when appropriate) -
have added source comments describing your change. For larger changes you likely should add a [Note][notes] and cross-reference it from the relevant places. -
add a testcase to the testsuite. -
replace this message with a description motivating your change