Do not worker/wrapper INLINE things, even if they are in a recursive group
authorsimonpj@microsoft.com <unknown>
Mon, 21 Jan 2008 13:59:09 +0000 (13:59 +0000)
committersimonpj@microsoft.com <unknown>
Mon, 21 Jan 2008 13:59:09 +0000 (13:59 +0000)
commit5ed66aa2c8ee97d1f370dc719c09cba2a15d5ac3
treeac69de3e3713d1bf4b58cf653a36769548b37348
parent478b939d1bd08c37ba3e334296eeb448c78491d2
Do not worker/wrapper INLINE things, even if they are in a recursive group

This patch stops the worker/wrapper transform working on an INLINE thing,
even if it's in a recursive group.  It might not be the loop breaker.  Indeed
a recursive group might have no loop breaker, if the only recursion is
through rules.

Again, this change was provoked by one of Roman's NDP libraries.
Specifically the Rec { splitD, splitJoinD } group in
Data.Array.Parallel.Unlifted.Distributed.Arrays

Simon
compiler/stranal/WorkWrap.lhs