primitive icon indicating copy to clipboard operation
primitive copied to clipboard

Adapt to recent GHC changes in runRW# compilation

Open treeowl opened this issue 4 years ago • 2 comments

GHC now tries to push a few things (I'm not sure what exactly) into runRW# blocks. I guess this is sometimes good? But when inlining doesn't happen, it's rather bad, because our trick of pulling constructors out of those blocks is now being defeated. Ugh! I'm not sure exactly what to do about this, aside from complaining to GHC HQ.

treeowl avatar Jan 13 '22 18:01 treeowl

Please complain! But please do so by saying "Here is a short bit code that compiles much better with GHC 8.10 than with HEAD". Concrete evidence is vastly more motivating, and actionable, than unsupported assertions.

simonpj avatar Jan 13 '22 23:01 simonpj

I wasn't aware of a change of this nature being made, so a code example would be appreciated

chessai avatar Jul 10 '22 15:07 chessai