
#10124: Simple case analyses generate too many branches -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.4 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Runtime | Unknown/Multiple performance bug | Test Case: Blocked By: | Blocking: Related Tickets: #6135, | Differential Revisions: #9661,#10137 | -------------------------------------+------------------------------------- Comment (by nomeata): With the above refactoring in place, it should be easier now to implement this on the Cmm level. I had a quick look, but I’m a bit lost with Cmm here (conditionals vs. boolean ops etc.). If someone can tell me what the correct Cmm code should be for, say, the example from comment:10, that’d be helpful. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10124#comment:14 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler