[GHC] #8763: forM_ [1..N] does not get fused (10 times slower than go function)

GHC ghc-devs at haskell.org
Wed Apr 25 16:24:25 UTC 2018


#8763: forM_ [1..N] does not get fused (10 times slower than go function)
-------------------------------------+-------------------------------------
        Reporter:  nh2               |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  7.6.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #7206             |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by sgraf):

 I rebased `wip/llf` onto a recent HEAD commit. You can find my progress
 here: https://github.com/sgraf812/ghc/tree/llf.

 Currently, it doesn't pass the testsuite (even in default mode, which
 doesn't do any new lambda lifting), probably because I introduced some
 errors during the merge.
 I think we should continue the discussion in #9476.

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


More information about the ghc-tickets mailing list