[GHC] #14275: Large Haskell value unexpectedly gets an unfolding

GHC ghc-devs at haskell.org
Tue Sep 26 02:44:22 UTC 2017


#14275: Large Haskell value unexpectedly gets an unfolding
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  low               |            Milestone:
       Component:  Compiler          |              Version:  8.2.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 Ben Gamari <ben@…>):

 In [changeset:"d11611f5739284cc6aab9b2636ac6485352107ea/ghc" d11611f/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="d11611f5739284cc6aab9b2636ac6485352107ea"
 Add NOINLINE pragma to builtinRules

 As mentioned in #14275, GHC will otherwise decide to produce unfoldings
 for this rather large binding, making recompilation more expensive than
 necessary. Since inlining is almost certainly not fruitful mark it as
 NOINLINE.

 [skip ci]

 Test Plan: Validate

 Reviewers: austin

 Subscribers: rwbarton, thomie

 GHC Trac Issues: #14275

 Differential Revision: https://phabricator.haskell.org/D4023
 }}}

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


More information about the ghc-tickets mailing list