
#14372: CMM contains a bunch of tail-merging opportunities -------------------------------------+------------------------------------- Reporter: heisenbug | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.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 simonpj): Across an entire module I think there are quite a lot of code blocks that are byte-for-byte identical; i.e. no extra branch or "equal up to constant" required. I wonder if we could simply gather stats on the top 100 code-blocks, put them into the RTS, and use them whenever we come across one? I bet that'd be highly effective; but I do not have data to back up my claim. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14372#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler