
#8905: Function arguments are always spilled/reloaded if scrutinee is already in WHNF --------------------------------------------+------------------------------ Reporter: tibbe | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.9 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Runtime performance bug | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: --------------------------------------------+------------------------------ Comment (by tibbe): Replying to [comment:7 simonmar]:
I attached a patch you can try. It definitely increases code size, but I'd be interested how much benefit it gives in your benchmarks.
I will try to benchmark the patch on my code tonight. Will you do a nofib run? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8905#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler