[GHC] #14068: Loopification using join points
GHC
ghc-devs at haskell.org
Sat Mar 17 21:57:00 UTC 2018
#14068: Loopification using join points
-------------------------------------+-------------------------------------
Reporter: nomeata | Owner: nomeata
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: #13966 #14067 | Differential Rev(s): Phab:D3811
#14827 |
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by nomeata):
Hi Kavon,
nice to see someone else working on this. With the ICFP deadline out of
the way, I want to pick this up again.
> as specialization and other optimizations end up turning a binder marked
as RecursiveTailCalled into a a full join point, and we end up with better
code.
Can you elaborate?
I noticed that the most regressions due to loopification are due to
ConstSpec only targetting recursive things. Do you observe that as well?
So the plan would be to experiment with a specializer that works also for
non-recursive functions. Do you want to try that out?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14068#comment:43>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list