[GHC] #14562: IntRep vs WordRep

GHC ghc-devs at haskell.org
Thu Dec 7 17:40:27 UTC 2017


#14562: IntRep vs WordRep
-------------------------------------+-------------------------------------
        Reporter:  andrewthad        |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 I see sense in this, but I recall lots of to-and-fro about exactly when to
 distinguish signed (`Int`) from unsigned (`Word`) values.  See
 particularly `Note [Signed vs unsigned]` in `cmm/CmmType`.

 I'm not arguing on way or another here, just mentioning that the
 signed/unsigned choice ripples surprisingly far.

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


More information about the ghc-tickets mailing list