[commit: ghc] wip/T15155a: asm-emit-time IND_STATIC elimination (ede2279)

git at git.haskell.org git at git.haskell.org
Thu Dec 27 17:01:23 UTC 2018


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

On branch  : wip/T15155a
Link       : http://ghc.haskell.org/trac/ghc/changeset/ede2279bcd1e4553478c79175677cd7f728ec0d0/ghc

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

commit ede2279bcd1e4553478c79175677cd7f728ec0d0
Author: Gabor Greif <ggreif at gmail.com>
Date:   Mon Jan 29 14:34:25 2018 +0100

    asm-emit-time IND_STATIC elimination
    
    When a new closure identifier is being established to a
    local or exported closure already emitted into the same
    module, refrain from adding an IND_STATIC closure, and
    instead emit ian assembly-language alias.
    
    Binary-size savings on nofib are around 0.1%


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

ede2279bcd1e4553478c79175677cd7f728ec0d0
 compiler/cmm/CLabel.hs                             | 48 +++++++++++++++++++++-
 compiler/llvmGen/Llvm/Types.hs                     |  1 +
 compiler/llvmGen/LlvmCodeGen/Base.hs               | 32 +++++++++++++--
 compiler/llvmGen/LlvmCodeGen/Data.hs               | 34 +++++++++++++--
 compiler/llvmGen/LlvmCodeGen/Ppr.hs                |  2 +-
 compiler/nativeGen/PPC/Ppr.hs                      | 11 +++++
 compiler/nativeGen/SPARC/Ppr.hs                    | 11 ++++-
 compiler/nativeGen/X86/Ppr.hs                      | 12 ++++++
 testsuite/tests/codeGen/should_compile/Makefile    | 15 +++++++
 .../T6146.stdin => should_compile/T15155.stdout}   |  2 +-
 testsuite/tests/codeGen/should_compile/T15155l.hs  |  8 ++++
 .../T6146.stdin => should_compile/T15155l.stdout}  |  2 +-
 testsuite/tests/codeGen/should_compile/all.T       |  8 ++++
 13 files changed, 174 insertions(+), 12 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 ede2279bcd1e4553478c79175677cd7f728ec0d0


More information about the ghc-commits mailing list