[GHC] #9233: Compiler performance regression