[GHC] #12963: Give -fexpose-all-unfoldings the same semantics as INLINABLE on each function

GHC ghc-devs at haskell.org
Mon Dec 12 13:25:37 UTC 2016


#12963: Give -fexpose-all-unfoldings the same semantics as INLINABLE on each
function
-------------------------------------+-------------------------------------
        Reporter:  MikolajKonarski   |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #12962            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by MikolajKonarski):

 I should mention that the semantics of `-fexpose-all-unfoldings` is
 currently different from `INLINABLE` on each function. In particular, it
 produces much slower programs for my codebase, probably because it doesn't
 force specialization (though it makes it possible by exposing the
 unfoldings), as opposed to `INLINABLE`.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12963#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list