Limit flattenLets to non-recursive lets only.
authorMatthijs Kooijman <m.kooijman@student.utwente.nl>
Fri, 14 Aug 2009 13:38:03 +0000 (15:38 +0200)
committerMatthijs Kooijman <m.kooijman@student.utwente.nl>
Fri, 14 Aug 2009 13:40:29 +0000 (15:40 +0200)
commitde2b45772572a90429ffe41a86a7ba08e7de6d4b
tree932f634cab70caeb88c36f3840d8a8a6933d5180
parente74b5270eaa6133386aa5a793700acf079dfc97d
Limit flattenLets to non-recursive lets only.

flattenLets is currently used for splitNormalized only, which should be
non-recursive lets only. To use it in other places to filter lets, we
should only flatten non-recursive lets, so we can create new non-recursive
lets afterwards.
cλash/CLasH/Utils/Core/CoreTools.hs