[GHC] #14068: Loopification using join points

GHC ghc-devs at haskell.org
Wed Feb 21 05:00:47 UTC 2018


#14068: Loopification using join points
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                Owner:  nomeata
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:  JoinPoints
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #13966 #14067     |  Differential Rev(s):  Phab:D3811
  #14827                             |
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by nomeata):

 Just had a brief look, just to remind myself of the issues here, and
 compared the Core of `x2n1`. With `-O`, I see loopification happening
 (yay!) and no allocation changes (expected). But with `-O -fspec-constr`,
 I see the big increase that is also reported by perf.haskell.org.

 It might just be an unwanted side effect of me trying preventing inlining
 of loopification, and might go away when I release this break – but then
 other things happen. Well, I should test that hypothesis.

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


More information about the ghc-tickets mailing list