[GHC] #8885: Add inline versions of clone array primops

GHC ghc-devs at haskell.org
Fri Mar 14 15:24:07 UTC 2014


#8885: Add inline versions of clone array primops
-------------------------------------+------------------------------------
        Reporter:  tibbe             |            Owner:  simonmar
            Type:  feature request   |           Status:  patch
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.9
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by tibbe):

 Marking these "out-of-line but may be inlined" primops as out-of-line in
 `primops.txt.pp` had the side effect of always adding an extra heap check
 for them, removing some of the benefits of inlining them in the first
 place. I've attached a patch that makes the heap check layout code respect
 the decision to inline these primops.

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


More information about the ghc-tickets mailing list