
#10012: Cheap-to-compute values aren't pushed into case branches inducing unnecessary register pressure -------------------------------------+------------------------------------- Reporter: bgamari | Owner: bgamari Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.4 Resolution: | Keywords: CodeGen Operating System: Unknown/Multiple | Architecture: Type of failure: Runtime | Unknown/Multiple performance bug | Test Case: Blocked By: | Blocking: Related Tickets: #8048 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bollu): * cc: bollu (added) Comment: CCing myself because I have been running into related issues with closure- creation-on-the-stack that's not necessary here: https://github.com/bollu/exploration/tree/master/dec-22-asm-diff -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10012#comment:20 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler