
#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 -------------------------------------+------------------------------------- Changes (by AndreasK): * differential: Phab:D4316 Phab:D4324 => Phab:D4316 Phab:D4324 Phab:D4327 Comment: I've created Phab:D4327 for now as a proof of concept. * The diff alone improves runtime by about 0.8% for the parts of nofib I looked at. * It only covers the case where we have a branch that is recognized as being bottom. * It doesn't change asm codegen outside of simple cases. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14672#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler