[GHC] #15770: Missing optimisation opportunity in code gen for always-saturated applications?

GHC ghc-devs at haskell.org
Mon Nov 12 04:17:32 UTC 2018


#15770: Missing optimisation opportunity in code gen for always-saturated
applications?
-------------------------------------+-------------------------------------
        Reporter:  osa1              |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D5232
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ömer Sinan Ağacan <omeragacan@…>):

 In [changeset:"d30352add1da67dd0346613853cd423c7becbaeb/ghc" d30352a/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="d30352add1da67dd0346613853cd423c7becbaeb"
 Remove StgBinderInfo and related computation in CoreToStg

 - The StgBinderInfo type was never used in the code gen, so the type,
 related
   computation in CoreToStg, and some comments about it are removed. See
 #15770
   for more details.

 - Simplified CoreToStg after removing the StgBinderInfo computation:
 removed
   StgBinderInfo arguments and mfix stuff.

 The StgBinderInfo values were not used in the code gen, but I still run
 nofib
 just to make sure: 0.0% change in allocations and binary sizes.

 Test Plan: Validated locally

 Reviewers: simonpj, simonmar, bgamari, sgraf

 Reviewed By: sgraf

 Subscribers: AndreasK, sgraf, rwbarton, carter

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

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


More information about the ghc-tickets mailing list