[commit: ghc] master: Automatically add SCCs to INLINABLE bindings (ab91daf)

git at git.haskell.org git at git.haskell.org
Fri May 12 18:38:44 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/ab91daf2cb8a4a8558727ebe30a662a2ddf290e1/ghc

>---------------------------------------------------------------

commit ab91daf2cb8a4a8558727ebe30a662a2ddf290e1
Author: David Feuer <david.feuer at gmail.com>
Date:   Fri May 12 14:37:36 2017 -0400

    Automatically add SCCs to INLINABLE bindings
    
    Instead of excluding `isAnyInlinePragma`, just exclude
    `isInlinePragma`. This makes GHC behave as documented;
    the user's guide only indicates that GHC does not automatically
    add SCCs to `INLINE` bindings.
    
    Fixes #12962.
    
    Reviewers: austin, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: DemiMarie, osa1, Mikolaj, simonpj, rwbarton, thomie
    
    GHC Trac Issues: #12962
    
    Differential Revision: https://phabricator.haskell.org/D3550


>---------------------------------------------------------------

ab91daf2cb8a4a8558727ebe30a662a2ddf290e1
 compiler/deSugar/Coverage.hs                       | 14 ++++++--
 testsuite/tests/profiling/should_run/T12962.hs     | 21 ++++++++++++
 .../tests/profiling/should_run/T12962.prof.sample  | 32 ++++++++++++++++++
 testsuite/tests/profiling/should_run/all.T         |  2 ++
 .../profiling/should_run/profinline001.prof.sample | 39 ++++++++++++----------
 5 files changed, 87 insertions(+), 21 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 ab91daf2cb8a4a8558727ebe30a662a2ddf290e1


More information about the ghc-commits mailing list