[commit: ghc] ghc-8.0: Fix histograms for ticky code (f0eb4f7)

git at git.haskell.org git at git.haskell.org
Mon Jul 25 18:37:02 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/f0eb4f7a1a63da057016fb93f009c7b57f481096/ghc

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

commit f0eb4f7a1a63da057016fb93f009c7b57f481096
Author: Mateusz Lenik <mlen at mlen.pl>
Date:   Tue May 17 08:33:54 2016 +0200

    Fix histograms for ticky code
    
    This patch fixes Cmm generation required to produce histograms when
    compiling with -ticky flag, strips dead code from rts/Ticky.c and
    reworks it to use a shared constant in both C and Haskell code.
    
    Fixes #8308.
    
    Test Plan: T8308
    
    Reviewers: jstolarek, simonpj, austin
    
    Reviewed By: simonpj
    
    Subscribers: mpickering, simonpj, bgamari, mlen, thomie, jstolarek
    
    Differential Revision: https://phabricator.haskell.org/D931
    
    GHC Trac Issues: #8308
    
    (cherry picked from commit f0f0ac859257a0b528815adb61d3f024c8bafa16)


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

f0eb4f7a1a63da057016fb93f009c7b57f481096
 compiler/codeGen/StgCmmExpr.hs                     |   1 +
 compiler/codeGen/StgCmmTicky.hs                    |  38 +--
 includes/stg/Ticky.h                               |  11 +-
 rts/RtsSymbols.c                                   |   5 +-
 rts/Ticky.c                                        | 298 ++-------------------
 testsuite/tests/rts/T8308/Makefile                 |  10 +
 testsuite/tests/rts/T8308/T8308.hs                 |   7 +
 .../T5149.stdout => rts/T8308/T8308.stdout}        |   0
 testsuite/tests/rts/T8308/all.T                    |   2 +
 utils/deriveConstants/Main.hs                      |   3 +
 10 files changed, 74 insertions(+), 301 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 f0eb4f7a1a63da057016fb93f009c7b57f481096


More information about the ghc-commits mailing list