[commit: ghc] master: Add -fspecialise-aggressively (b9e49d3)
git at git.haskell.org
git at git.haskell.org
Thu Aug 28 11:12:15 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/b9e49d3e9580e13d89efd1f779cb76f610e0d6e0/ghc
>---------------------------------------------------------------
commit b9e49d3e9580e13d89efd1f779cb76f610e0d6e0
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Tue May 13 13:10:26 2014 +0100
Add -fspecialise-aggressively
This flag specialises any imported overloaded function that has an
unfolding, whether or not it was marked INLINEABLE.
We get a lot of orphan SPEC rules as a result, but that doesn't matter
provided we don't treat orphan auto-generated rules as causing the module
itself to be an orphan module. See Note [Orphans and auto-generated rules]
in MkIface.
>---------------------------------------------------------------
b9e49d3e9580e13d89efd1f779cb76f610e0d6e0
compiler/iface/MkIface.lhs | 23 ++++++-
compiler/main/DynFlags.hs | 2 +
compiler/specialise/Specialise.lhs | 135 ++++++++++++++++++++++++++-----------
3 files changed, 119 insertions(+), 41 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc b9e49d3e9580e13d89efd1f779cb76f610e0d6e0
More information about the ghc-commits
mailing list