I ended up spending a couple of working days on it, rejecting an RTS only solution because I was pretty sure there was a problem in the code generator also (as the LLM had pointed out it only occurred in certain optimisation levels). If also directed it to write a variety of test cases in the draft-MR that it can. But I totally get what people are saying about the LLM generated prose in the comments, they are a bit painful to read. I would generally use the word that rhymes with banker to describe someone who wrote like that in real life.
But the fact is, I haven't got either the time or the expertise to do much more with this. I haven't worked on GHC internals, and whilst I try to take the time to contribute back to the Haskell ecosystem so it remains and grows as a viable language in industry, I'm also trying to encourage my employer to continue to make the unusual decision of paying someone to keep and extend a Haskell system in production. Going off on weeks/months long study sessions to do proper study into how GHC works is not practical for me if I want to keep getting paid to write Haskell (and if I want my job to exist for others in the future as well).
So the practical options are either a slop issue/draft-MR is submitted, or just keep it to myself. I don't expect this to be merged in its current state or even at all, I get that. But I still feel an AI slop issue with a reproducer for a bug is better than none at all.