[GHC] #16254: INLINABLE pragma and newtype wrappers prevent inlining
GHC
ghc-devs at haskell.org
Mon Mar 4 18:51:02 UTC 2019
#16254: INLINABLE pragma and newtype wrappers prevent inlining
-------------------------------------+-------------------------------------
Reporter: monoidal | Owner: monoidal
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 8.6.3
Resolution: fixed | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
| simplCore/should_compile/T16254
Blocked By: | Blocking:
Related Tickets: #5327 | Differential Rev(s):
Wiki Page: | https://gitlab.haskell.org/ghc/ghc/merge_requests/325/
-------------------------------------+-------------------------------------
Comment (by Marge Bot <ben+marge-bot@…>):
In [changeset:"7833cf407d1f608bebb1d38bb99d3035d8d735e6/ghc"
7833cf40/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="7833cf407d1f608bebb1d38bb99d3035d8d735e6"
Look through newtype wrappers (Trac #16254)
exprIsConApp_maybe could detect that I# 10 is a constructor application,
but not that Size (I# 10) is, because it was an application with a
nontrivial argument.
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16254#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list