[GHC] #9246: GHC generates poor code for repeated uses of min/max

GHC ghc-devs at haskell.org
Fri Jul 4 23:29:59 UTC 2014


#9246: GHC generates poor code for repeated uses of min/max
--------------------------------------------+------------------------------
        Reporter:  arotenberg               |            Owner:
            Type:  bug                      |           Status:  new
        Priority:  normal                   |        Milestone:
       Component:  Compiler                 |          Version:  7.8.2
      Resolution:                           |         Keywords:
Operating System:  Windows                  |     Architecture:  x86_64
 Type of failure:  Runtime performance bug  |  (amd64)
       Test Case:                           |       Difficulty:  Unknown
        Blocking:                           |       Blocked By:
                                            |  Related Tickets:  #6135
--------------------------------------------+------------------------------

Comment (by carter):

 @arontenberg, need not close it per se, I think @simonpj raise a good
 point (which perhaps can be spun off into its own ticket?)

 I notice Jan has a blog post about LNE
 http://lambda.jstolarek.com/2013/10/let-no-escape/

 is it kinda like a higher order phi function?

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


More information about the ghc-tickets mailing list