[GHC] #13569: Optimise code-gen for field-updates of large products

GHC ghc-devs at haskell.org
Tue Apr 18 20:49:52 UTC 2017


#13569: Optimise code-gen for field-updates of large products
-------------------------------------+-------------------------------------
        Reporter:  hvr               |                Owner:  (none)
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
  (CodeGen)                          |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by nomeata):

 * cc: nomeata (added)


Comment:

 So basically `memcpy` always, even if the object is very small, and leave
 the rest to the compiler?

 But we only run an optimizing compiler with the LLVM backend, don’t we? So
 this should not be done in the NGC?

 (Did trac stop auto-subscribing commentors?)

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


More information about the ghc-tickets mailing list