[GHC] #13379: Space leak / quadratic behavior when inlining

GHC ghc-devs at haskell.org
Fri Apr 28 11:14:16 UTC 2017


#13379: Space leak / quadratic behavior when inlining
-------------------------------------+-------------------------------------
        Reporter:  jberryman         |                Owner:  (none)
            Type:  bug               |               Status:  merge
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:  Inlining
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Compile-time      |            Test Case:
  performance bug                    |  perf/compile/T13379
      Blocked By:                    |             Blocking:
 Related Tickets:  #13586            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by simonpj):

 * testcase:   => perf/compile/T13379
 * status:  new => merge


Comment:

 I claim this is fixed. The second patch fixes a problem that the first one
 exposed; so merge them both.

 Would someone like to verify it's fixed in real live contexts?  The
 `Main.hs` attachement is ok -- it's in the regression tests now.

 I forgot to mention, but the first (main) patch produces some perf
 improvements in `tests/perf/compiler`:
 {{{
 T9020: 14% reduction in compiler allocation
 T12425: 5% reduction in compiler allocation
 }}}

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


More information about the ghc-tickets mailing list