[GHC] #13236: Improve floating for join points
GHC
ghc-devs at haskell.org
Fri Feb 17 08:25:30 UTC 2017
#13236: Improve floating for join points
-------------------------------------+-------------------------------------
Reporter: simonpj | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: | Keywords: JoinPoints
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 simonpj):
Question 2: I'm not saying that we never have a candidate MFE that has a
join point as a free var.
I AM saying that in that situation we should not float the MFE. How could
it possibly be beneficial? Floating is mainly to get things outside a
value lambda -- but that's invalid there's a free join point. Or to top
level; ditto. Case closed.
Can you give an example where let-binding an MFE (as a join point of
course) with a free variable is beneficial?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13236#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list