[GHC] #12463: SPECIALIZABLE pragma?

GHC ghc-devs at haskell.org
Sat Sep 24 21:28:26 UTC 2016


#12463: SPECIALIZABLE pragma?
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  low               |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:  Inlining
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 > My understanding is that INLINEABLE will merely tell GHC to produce an
 unfolding; it won't ensure that GHC will use that unfolding to specialise
 use-sites.

 Actually it ''does'' tell GHC to do exactly that.   In other words, it
 already seeks to meet the goal.  It may or not be working, of course.

 I did try #8774 with HEAD and it worked flawlessly.

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


More information about the ghc-tickets mailing list