Profiling loses eta-expansion opportunities unnecessarily
If I have
f = scc "f"
let x = scc "g" y in
\z -> ...
then we don't see that f has arity 1. Because SimplUtils.mkLam
only does eta expansion if there is at least one value lambda.
I'm making a ticket for this so that we don't forget it, but it's not very high priority.
Trac metadata
Trac field | Value |
---|---|
Version | 6.10.4 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | low |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |