
#14672: Make likelyhood of branches/conditions available throughout the compiler. -------------------------------------+------------------------------------- Reporter: AndreasK | Owner: (none) Type: task | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4316 Wiki Page: | Phab:D4324 Phab:D4327 -------------------------------------+------------------------------------- Comment (by AndreasK): Just document it for a future time: Coming across the Ticky-ticky profiling page this would seem like a good way collect branch weights for the generated STG code. The plan would then be to * Compile the executable with ticky-ticky enabled. * Collect information from a representative set of use cases. * Compile the executable without tick-ticky, using the collected information to inform GHC about relative branch weights. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14672#comment:13 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler