[GHC] #9136: Constant folding in Core could be better

GHC ghc-devs at haskell.org
Wed Oct 3 02:17:16 UTC 2018


#9136: Constant folding in Core could be better
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:  (none)
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  7.8.2
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2858
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by hsyl20):

 Replying to [comment:30 spacekitteh]:
 > Do these rules fire for floating point operations? Because they are
 neither associative nor distributive.

 No, only for Int# and Word#.

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


More information about the ghc-tickets mailing list