diff options
author | Joachim Breitner <mail@joachim-breitner.de> | 2015-04-17 16:00:50 +0200 |
---|---|---|
committer | Joachim Breitner <mail@joachim-breitner.de> | 2015-04-17 16:00:50 +0200 |
commit | ea40430343ee07e1bdc6ee948d7a27aa65dbf936 (patch) | |
tree | 66ca7bcbc9e44a0e6c7dd3b2a9f3f5ec0ba3724f /compiler/simplCore/CoreMonad.hs | |
parent | 619a324ed6a35708e4a3746f48c23b4f294e82df (diff) | |
download | haskell-wip/T9020.tar.gz |
Do not eta-expand in SimplGentlwip/T9020
Eta-expansion can seriously blow up the size of the code, if there are
newtypes and coercions involved; see #9020 for a particularly good
example.
It may work out well in a full simplifier phase, when the additional
coercions can be optimized away, e.g. after inlining. But the gentle
phase does less, in particular no inlining, so chances are high that we
will blow up our code for on good reason.
If this change works out, there is no need for #10319 anymore.
Diffstat (limited to 'compiler/simplCore/CoreMonad.hs')
0 files changed, 0 insertions, 0 deletions