[GHC] #14844: SpecConstr also non-recursive function
GHC
ghc-devs at haskell.org
Fri Feb 23 14:23:24 UTC 2018
#14844: SpecConstr also non-recursive function
-------------------------------------+-------------------------------------
Reporter: nomeata | Owner: (none)
Type: task | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.5
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
In order to fix the regressions introduced by loopification (#14068), we
probably need to get !SpecConstr also do something about non-recursive
functions.
In a first iteration, we might want to enable it for non-recursive
functions straight-away, and see if it fixes the regressions introduced by
Loopification.
But if this turns out to be too slow/too expensive, we should try
specializing non-recursive ''local'' functions ''if there is only one
call-patterns''. That ought to be a straight win in all cases anyways.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14844>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list