[GHC] #9374: Investigate Static Argument Transformation

GHC ghc-devs at haskell.org
Thu Sep 11 00:19:32 UTC 2014


#9374: Investigate Static Argument Transformation
-------------------------------------+-------------------------------------
              Reporter:  jstolarek   |            Owner:
                  Type:  task        |           Status:  new
              Priority:  lowest      |        Milestone:
             Component:  Compiler    |          Version:  7.9
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:              |       Blocked By:
  None/Unknown                       |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by dfeuer):

 Replying to [comment:10 simonpj]:
 > I can't tell without a concrete example.  Can you offer one?  Thanks.
 >
 > Simon

 Not yet. Dan Doel's work on Takano Akio's `foldrW/buildW` fusion stuff
 (with some help from me) shows that it often creates static arguments. It
 also sometimes leads to apparently-splittable `Rec` groups. I have not
 ''yet'' seen it create a splittable `Rec` group in which it introduces a
 static argument. We still don't know if this fusion framework is viable as
 a replacement for classic `foldr/build`, but it seems likely that giving
 it a really fair performance test would require a late SAT run of some
 kind. It may be that there won't be splittable-`Rec` issues, but I figured
 I'd mention that possibility.

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


More information about the ghc-tickets mailing list