#4062: Bad choice of loop breaker?
---------------------------------+------------------------------------------
Reporter: rl | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.13 | Keywords:
Os: Unknown/Multiple | Testcase:
Architecture: Unknown/Multiple | Failure: Runtime performance bug
---------------------------------+------------------------------------------
When compiling dph-prim-
par/Data/Array/Parallel/Unlifted/Distributed/Arrays.hs, GHC chooses
`splitD` (only until w/w) and `splitJoinD` as loop breakers which prevents
the latter from being inlined in other modules. I fear this might actually
be the correct behaviour but Simon asked me to submit a ticket so here it
is. I fixed the problem by moving the implementation of `splitD` to a new
function `splitD_impl` which is called from `splitD` and `splitJoinD`. I
haven't pushed the patch yet; I'll tag the repo and update the ticket
before I do that.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4062>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs