
Dropping a recent paper on this topic that uses dynamic profiling,
#15124: Improve block layout for the NCG -------------------------------------+------------------------------------- Reporter: AndreasK | Owner: AndreasK Type: task | Status: new Priority: normal | Milestone: 8.8.1 Component: Compiler (NCG) | Version: 8.2.2 Resolution: | Keywords: CodeGen Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #8082 #14672 | Differential Rev(s): Phab:D4726 Wiki Page: | -------------------------------------+------------------------------------- Comment (by AndreasK): Replying to [comment:10 kavon]: though there might be some adaptable ideas / further reading in here: https://arxiv.org/abs/1810.00905 Cool idea! I don't know how much Haskell could would benefit comperatively here as I would assume info tables would get in the way of fall throughs between functions. But might still be worth doing eventually. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15124#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler