Make worker-wrapper transformation optional.
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
Trac metadata
Trac field | Value |
---|---|
Version | 7.11 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |