Make top level inlining handle non-representable results gracefully.
authorMatthijs Kooijman <matthijs@stdin.nl>
Tue, 6 Apr 2010 17:44:57 +0000 (19:44 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Tue, 6 Apr 2010 17:44:57 +0000 (19:44 +0200)
commit18fd422156a76abe065036b28a672f5e6077bde4
tree84355e4f330560f03954217abadca0368ebf61c2
parent88229173076f82beda4218e3e4c529ebfd04bee6
Make top level inlining handle non-representable results gracefully.

Since it does not know (nor care) if the function result is
representable, it now uses splitNormalizedNonRep and checks if the
result is a Var afterwards.
cλash/CLasH/Normalize.hs