[GHC] #9279: Local wrapper function remains in final program; result = extra closure allocation

GHC ghc-devs at haskell.org
Wed Aug 20 04:02:53 UTC 2014


#9279: Local wrapper function remains in final program; result = extra closure
allocation
-------------------------------------+-------------------------------------
              Reporter:  simonmar    |            Owner:  simonpj
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.2
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:  Runtime     |       Blocked By:
  performance bug                    |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by nfrisby):

 9c2904c, the tip of `wip/llf`, using my recommended settings (cf
 LateLamLift) does lift our `$wa4` (or whatever lead to it).

 The new attachment is the output of `/home/nifr/tmp/llf-for-9279/bin/ghc
 -fforce-recomp -O2 $(echo $(cat ~/ghc-llf/llf-nr10-r6)) -c
 Haxl/Core/Monad.hs -ddump-llf -ddump-simpl -dsuppress-all`. The subcommand
 spews out the "recommended settings" that I refer to as llf-nr10-r6.

 HTH.

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


More information about the ghc-tickets mailing list