
#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 simonmar): Simon - this is one of the things I changed when I worked on the new code generator. We could certainly investigate alternatives, the patch I attached earlier changes it but increases code size, I haven't done a full nofib run though. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8905#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler