[GHC] #6084: Add stg_ap_pnnv and related call patterns

GHC ghc-devs at haskell.org
Wed Nov 27 15:29:17 UTC 2013


#6084: Add stg_ap_pnnv and related call patterns
-------------------------------------+------------------------------------
        Reporter:  SimonMeier        |            Owner:  simonmar
            Type:  feature request   |           Status:  patch
        Priority:  high              |        Milestone:  7.8.1
       Component:  Runtime System    |          Version:  7.7
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:  8313              |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by parcs):

 Replying to [comment:30 simonmar]:
 > Thanks for revising the patch.
 >
 > I spotted one problem: you're referring to `fun` in two places, which
 might duplicate some code.  The original patch put it in a temp variable
 for this reason.  It's a good idea to peer at the Cmm code being generated
 to see whether it looks as you expect.

 Ah, okay. I will reinstate the temp variable for `fun` and then run nofib
 again, this time more carefully.

 > We'll need a test for this in `testsuite/codeGen`.

 Okay.

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


More information about the ghc-tickets mailing list