[GHC] #13996: Non-cheap primop is duplicated
GHC
ghc-devs at haskell.org
Wed Jul 19 16:25:18 UTC 2017
#13996: Non-cheap primop is duplicated
-------------------------------------+-------------------------------------
Reporter: simonpj | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
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 conal):
Thanks for the explanation, Simon. The eta-expansion policy sounds very
sensible to me, and now I understand that more expensive computations will
not get pushed under lambdas. If GHC's cost model turns out not to fit my
use, I can add some simple post-GHC transformations on the representation
I use for generating GPU code.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13996#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list