[GHC] #12603: INLINE and manually inlining produce different code

GHC ghc-devs at haskell.org
Mon Mar 6 14:49:50 UTC 2017


#12603: INLINE and manually inlining produce different code
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  closed
        Priority:  high              |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.0.1
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #12747 #12781     |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 It's committed in HEAD.
 {{{
 commit 2effe18ab51d66474724d38b20e49cc1b8738f60
 Author: Simon Peyton Jones <simonpj at microsoft.com>
 Date:   Tue Feb 28 16:07:20 2017 -0500

     The Early Inline Patch

     This very small patch switches on sm_inline even in the InitialPhase
     (aka "gentle" phase).   There is no reason not to... and the results
     are astonishing.
 }}}
 Back to you Mikolaj!

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


More information about the ghc-tickets mailing list