[GHC] #11701: ghc generates significant slower code

GHC ghc-devs at haskell.org
Sun Mar 20 16:32:56 UTC 2016


#11701: ghc generates significant slower code
-------------------------------------+-------------------------------------
        Reporter:  HuStmpHrrr        |                Owner:
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  7.10.3
      Resolution:                    |             Keywords:  efficiency
Operating System:  Linux             |         Architecture:  x86_64
 Type of failure:  Runtime           |  (amd64)
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D1997
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"2841ccab595ce38fb86b789574f057c3abe3d630/ghc"
 2841ccab/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="2841ccab595ce38fb86b789574f057c3abe3d630"
 Mark GHC.Real.even and odd as INLINEABLE

 Previously they were merely specialised at Int and Integer. It seems to
 me that these are cheap enough to be worth inlining. See #11701 for
 motivation.

 Test Plan: Validate

 Reviewers: austin, hvr, simonpj

 Reviewed By: simonpj

 Subscribers: thomie

 Differential Revision: https://phabricator.haskell.org/D1997

 GHC Trac Issues: #11701
 }}}

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


More information about the ghc-tickets mailing list