[GHC] #15840: Inline data constructor wrappers very late

GHC ghc-devs at haskell.org
Mon Mar 4 18:51:02 UTC 2019


#15840: Inline data constructor wrappers very late
-------------------------------------+-------------------------------------
        Reporter:  aspiwack          |                Owner:  (none)
            Type:  feature request   |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.7
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
                                     |  simplCore/should_run/{T15840,T15840a}
      Blocked By:  16288             |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |  https://gitlab.haskell.org/ghc/ghc/merge_requests/325/
-------------------------------------+-------------------------------------

Comment (by Marge Bot <ben+marge-bot@…>):

 In [changeset:"b78cc64e923716ac0512c299f42d4d0012306c05/ghc" b78cc64/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="b78cc64e923716ac0512c299f42d4d0012306c05"
 Make constructor wrappers inline only during the final phase

 For case-of-known constructor to continue triggering early,
 exprIsConApp_maybe is now capable of looking through lets and cases.

 See #15840
 }}}

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


More information about the ghc-tickets mailing list