[GHC] #14186: CSE fails to CSE two identical large top-level functions

GHC ghc-devs at haskell.org
Tue Sep 12 15:02:35 UTC 2017


#14186: CSE fails to CSE two identical large top-level functions
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.3
      Resolution:                    |             Keywords:  CSE
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #13589            |  Differential Rev(s):  Phab:D3939
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Joachim Breitner <mail@…>):

 In [changeset:"fe04f3783b662c52c4a0ff36b2d62a7a575998a5/ghc"
 fe04f378/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="fe04f3783b662c52c4a0ff36b2d62a7a575998a5"
 Allow CSE'ing of work-wrapped bindings (#14186)

 the worker/wrapper creates an artificial INLINE pragma, which caused CSE
 to not do its work. We now recognize such artificial pragmas by using
 `NoUserInline` instead of `Inline` as the `InlineSpec`.

 Differential Revision: https://phabricator.haskell.org/D3939
 }}}

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


More information about the ghc-tickets mailing list