[GHC] #11731: Simplifier: Inlining trivial let can lose sharing

GHC ghc-devs at haskell.org
Tue Apr 5 15:07:52 UTC 2016


#11731: Simplifier: Inlining trivial let can lose sharing
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                Owner:
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.1
      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:D2073
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Yes that's good.  For the paper we can talk about the find dmd-anal pass,
 but in showing the payoff from single-entry etc we will have to compare
 like with like; i.e. not claim the big wins here as wins for single-entry-
 ness.

 We'd also flirted with `-flate-dmd-anal` (complete with worker/wrapper)
 which could show greater benefits still (from the w/w).  I hypothesise
 that if we did `-flate-dmd-anal` then the final dmd-anal pass would buy
 very little except the correct single-entry info.

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


More information about the ghc-tickets mailing list