[GHC] #14684: combineIdenticalAlts is only partially implemented

GHC ghc-devs at haskell.org
Tue Feb 20 04:52:40 UTC 2018


#14684: combineIdenticalAlts is only partially implemented
-------------------------------------+-------------------------------------
        Reporter:  mpickering        |                Owner:  sjakobi
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.2.2
      Resolution:                    |             Keywords:  newcomer
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4419
       Wiki Page:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"fe98cd7538ce18dec260b50ca756d06929ae0b3b/ghc"
 fe98cd75/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="fe98cd7538ce18dec260b50ca756d06929ae0b3b"
 Combine the CoreAlts with the most common RHS

 Unless there already is a DEFAULT alternative, look for the most common
 RHS and create a new DEFAULT alt.

 Previously, only the very first RHS was considered.

 Test Plan: make test TEST="T7360 T14684"

 Reviewers: bgamari

 Subscribers: AndreasK, mpickering, rwbarton, thomie, carter

 GHC Trac Issues: #14684

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

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


More information about the ghc-tickets mailing list