[GHC] #10829: Simplification in the RHS of rules
GHC
ghc-devs at haskell.org
Tue Sep 8 12:31:49 UTC 2015
#10829: Simplification in the RHS of rules
-------------------------------------+-------------------------------------
Reporter: afarmer | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.10.3
Component: Compiler | Version: 7.10.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: 10528 | Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by simonpj):
I think that Option 1 would be fine. Could someone try it?
* In `Simplify.simplRule`, define `rhs_env = lhs_env`.
* Probably rename `updModeForRuleLHS` to `updModeForRule`
* Add a `Note` with `updModeForRule` to explain why we also do no
inlining on rule RHSs, citing the ticket.
* Check that there is no `nofib` impact.
Andrew: maybe you can do this?
Simon
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10829#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list