[GHC] #11020: Make worker-wrapper transformation optional.
#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
#11020: Make worker-wrapper transformation optional. -------------------------------------+------------------------------------- Reporter: darchon | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.11 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1372 Wiki Page: | -------------------------------------+------------------------------------- Changes (by darchon): * differential: => Phab:D1372 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11020#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11020: Make worker-wrapper transformation optional. -------------------------------------+------------------------------------- Reporter: darchon | Owner: darchon Type: feature request | Status: new Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.11 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1372 Wiki Page: | -------------------------------------+------------------------------------- Changes (by darchon): * owner: => darchon * milestone: => 8.0.1 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11020#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11020: Make worker-wrapper transformation optional. -------------------------------------+------------------------------------- Reporter: darchon | Owner: darchon Type: feature request | Status: new Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.11 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1372 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Austin Seipp <austin@…>): In [changeset:"31704adc82c3a1e48ac05c51f02933fd996b642a/ghc" 31704ad/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="31704adc82c3a1e48ac05c51f02933fd996b642a" Make worker-wrapper optional Add -fworker-wrapper flag which enables the worker-wrapper transformation. It is implied by -O. The expected users of this flag, which includes myself, are GHC API users. In my Haskell-to-Hardware compiler, 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 Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D1372 GHC Trac Issues: #11020 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11020#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11020: Make worker-wrapper transformation optional. -------------------------------------+------------------------------------- Reporter: darchon | Owner: darchon Type: feature request | Status: closed Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.11 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: none Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1372 Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * status: new => closed * testcase: => none * resolution: => fixed -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11020#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC