
#9136: Constant folding in Core could be better --------------------------------------------+------------------------------ Reporter: simonpj | Owner: nomeata Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Runtime performance bug | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: --------------------------------------------+------------------------------ Changes (by nomeata): * owner: => nomeata Comment: I couldn’t resist to get started on this, so branch `wip/T9136` contains a test case ([changeset:d4081919/ghc]) and a first implementation for `+` ([changeset:115fd8b043/ghc]). Not polished and complete yet, and not yet validated, but it goes in the right direction I think. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9136#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler