[GHC] #16254: INLINABLE pragma and newtype wrappers prevent inlining
GHC
ghc-devs at haskell.org
Tue Jan 29 17:03:37 UTC 2019
#16254: INLINABLE pragma and newtype wrappers prevent inlining
-------------------------------------+-------------------------------------
Reporter: monoidal | Owner: monoidal
Type: bug | Status: patch
Priority: normal | Milestone:
Component: Compiler | Version: 8.6.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #5327 | Differential Rev(s):
Wiki Page: | https://gitlab.haskell.org/ghc/ghc/merge_requests/247
-------------------------------------+-------------------------------------
Comment (by simonpj):
> The reason is that exprIsConApp_maybe sees $WSize (I# 17#)
This is true only if data constructor wrappers are inlined late, isn't it?
Or is it some true even of (say) GHC 8.6?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16254#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list