[GHC] #12781: Significantly higher allocation with INLINE vs NOINLINE

GHC ghc-devs at haskell.org
Wed Jan 11 00:09:36 UTC 2017


#12781: Significantly higher allocation with INLINE vs NOINLINE
-------------------------------------+-------------------------------------
        Reporter:  MikolajKonarski   |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:  JoinPoints
Operating System:  Linux             |         Architecture:  x86_64
 Type of failure:  Runtime           |  (amd64)
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #12747 #12603     |  Differential Rev(s):
  #5775                              |
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by lukemaurer):

 Confirmed—with join points, `INLINE` vs. `NOINLINE` makes no difference.
 And indeed the key is that we move the case into `$w$j`.

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


More information about the ghc-tickets mailing list