[GHC] #13663: Option to disable turning recursive let-bindings to recursive functions

GHC ghc-devs at haskell.org
Mon May 8 14:35:26 UTC 2017


#13663: Option to disable turning recursive let-bindings to recursive functions
-------------------------------------+-------------------------------------
        Reporter:  darchon           |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by darchon):

 Experience has shown that, across the board, turning on the simplifier:
 - reduces compile times (going from Haskell description to circuit)
 - results in circuits are smaller
 - results circuits are faster

 I would hence rather not disable the simplifier. Do note that I actually
 run with a very specific set of transformations: https://github.com/clash-
 lang/clash-compiler/blob/bd9f7df892ad90f6147fae0854e38c547d1d4ff4/clash-
 ghc/src-ghc/CLaSH/GHC/LoadModules.hs#L283

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13663#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list