GHC sometimes ignores INLINE pragmas
In #19873 we discovered that GHC has has a bug forever that means it sometimes essentially discarded INLINE pragams. This happened when you have
- Two more more mutually recursive functions
- Some of which (presumably not all!) have an INLINE pragma
- Completely monomorphic.
This hits a particular case in GHC.HsToCore.Binds.dsAbsBinds
, which was simply wrong -- it put the INLINE pragma on the wrong binder.