[commit: ghc] master: New codegen: do not split proc-points when using the NCG (f1ed6a1)

Simon Marlow marlowsd at gmail.com
Mon Jul 30 15:06:34 CEST 2012


Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/f1ed6a1052331b6d5b001983925bdab66f99b0f6

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

commit f1ed6a1052331b6d5b001983925bdab66f99b0f6
Author: Simon Marlow <marlowsd at gmail.com>
Date:   Thu Jul 19 10:03:06 2012 +0100

    New codegen: do not split proc-points when using the NCG
    
    Proc-point splitting is only required by backends that do not support
    having proc-points within a code block (that is, everything except the
    native backend, i.e. LLVM and C).
    
    Not doing proc-point splitting saves some compilation time, and might
    produce slightly better code in some cases.

 compiler/cmm/Cmm.hs                     |   15 +++--
 compiler/cmm/CmmBuildInfoTables.hs      |   99 ++++++++++++++++++------------
 compiler/cmm/CmmContFlowOpt.hs          |   32 +++++++---
 compiler/cmm/CmmCvt.hs                  |    2 +-
 compiler/cmm/CmmInfo.hs                 |   97 ++++++++++++++++++------------
 compiler/cmm/CmmLayoutStack.hs          |   13 ++--
 compiler/cmm/CmmOpt.hs                  |   10 ++-
 compiler/cmm/CmmParse.y                 |    2 +-
 compiler/cmm/CmmPipeline.hs             |   85 ++++++++++++++++++---------
 compiler/cmm/CmmProcPoint.hs            |   26 ++++++--
 compiler/cmm/OldCmm.hs                  |   20 +++++--
 compiler/cmm/PprC.hs                    |    4 +-
 compiler/cmm/PprCmm.hs                  |    2 +-
 compiler/cmm/PprCmmDecl.hs              |    2 -
 compiler/codeGen/CgInfoTbls.hs          |    2 +-
 compiler/codeGen/CgMonad.lhs            |   13 +++-
 compiler/codeGen/StgCmmBind.hs          |    2 +-
 compiler/codeGen/StgCmmClosure.hs       |    2 -
 compiler/codeGen/StgCmmLayout.hs        |    2 +-
 compiler/codeGen/StgCmmMonad.hs         |   20 ++++--
 compiler/llvmGen/LlvmCodeGen.hs         |    4 +-
 compiler/llvmGen/LlvmCodeGen/CodeGen.hs |    5 +-
 compiler/main/DynFlags.hs               |    3 +
 compiler/nativeGen/AsmCodeGen.lhs       |   58 ++++++++++--------
 compiler/nativeGen/Instruction.hs       |    4 +-
 compiler/nativeGen/PPC/Ppr.hs           |   71 +++++++++++-----------
 compiler/nativeGen/RegAlloc/Liveness.hs |    4 +-
 compiler/nativeGen/SPARC/Ppr.hs         |   72 ++++++++++++-----------
 compiler/nativeGen/X86/Ppr.hs           |   89 +++++++++++++++-------------
 29 files changed, 448 insertions(+), 312 deletions(-)


Diff suppressed because of size. To see it, use:

    git show f1ed6a1052331b6d5b001983925bdab66f99b0f6



More information about the Cvs-ghc mailing list