[GHC] #9136: Constant folding in Core could be better
GHC
ghc-devs at haskell.org
Fri May 23 19:44:32 UTC 2014
#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:
--------------------------------------------+------------------------------
Comment (by nomeata):
Refactored the code; no more transformation `x -# (Lit n)` to `x +# (Lit
-n)` unless it is required to combine some literals. This yields prettier
Core and this way it validates without having to update test result core
output.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9136#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list