[GHC] #13143: NOINLINE and worker/wrapper
GHC
ghc-devs at haskell.org
Mon Feb 6 23:52:27 UTC 2017
#13143: NOINLINE and worker/wrapper
-------------------------------------+-------------------------------------
Reporter: simonpj | Owner:
Type: bug | Status: closed
Priority: normal | Milestone: 8.2.1
Component: Compiler | Version: 8.0.1
Resolution: fixed | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): D3046
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by simonpj):
> I guess the test suite did not come up with anything, but does this
interfere with rules? A rule might mention the NOINLINE thing, but aftetr
W/W, the worker remains, and a rule will no longer fire.
That's a worry for all functions; but the wrapper always get an inline
activation that allows it to inline only in the last phase. See `Note
[Wrapper activation]` in `WorkWrap`.
What you say has merit; but it was bad bad bad before we made this change.
If there's actually a problem with this new story, let's see it.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13143#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list