
#11020: Make worker-wrapper transformation optional. -------------------------------------+------------------------------------- Reporter: darchon | Owner: Type: feature | Status: new request | Priority: normal | Milestone: Component: Compiler | Version: 7.11 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: -------------------------------------+------------------------------------- I would like the worker-wrapper transformation to be optional, so I can disable it in my very specific use case. I propose to add a {{{-fworker- wrapper}}} flag, which enables the worker-wrapper transformation, and is implied by {{{-O}}} The expected users of this flag, which includes myself, are GHC API users. In my Haskell-to-Hardware compiler [1], which uses the GHC API, I have seen no benifits of the worker-wrapper transformation. It does however induce longer compilation times. Further discussion can be seen here: https://mail.haskell.org/pipermail /ghc-devs/2015-October/010096.html -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11020 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler