[GHC] #9718: Avoid TidyPgm predicting what CorePrep will do
GHC
ghc-devs at haskell.org
Mon Dec 3 12:05:47 UTC 2018
#9718: Avoid TidyPgm predicting what CorePrep will do
-------------------------------------+-------------------------------------
Reporter: simonpj | Owner: (none)
Type: task | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.8.3
Resolution: | Keywords: CodeGen, CAFs
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 osa1):
> So I think you only need a MUCH simpler function.
Indeed, my function is much simpler. The whole analysis is implemented in
69 lines:
https://github.com/osa1/ghc/blob/7eeb49f1a034d500cad69151d205985f1fef3f31/compiler/stgSyn/StgCafAnal.hs
I just booted GHC with updated iface files. I'll now try to validate.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9718#comment:24>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list