[commit: ghc] master: Attach global register liveness info to Cmm procedures. (5ee08dd)
Geoffrey Mainland <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cvs.ghc |
|---|---|
| Message-ID | <[email protected]> |
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/5ee08ddffbbe596d7716a09306888004e6baf2b1 >--------------------------------------------------------------- commit 5ee08ddffbbe596d7716a09306888004e6baf2b1 Author: Geoffrey Mainland <[email protected]> Date: Wed Oct 17 18:20:29 2012 +0100 Attach global register liveness info to Cmm procedures. All Cmm procedures now include the set of global registers that are live on procedure entry, i.e., the global registers used to pass arguments to the procedure. Only global registers that are use to pass arguments are included in this list. compiler/cmm/Cmm.hs | 12 +++++- compiler/cmm/CmmBuildInfoTables.hs | 8 ++-- compiler/cmm/CmmContFlowOpt.hs | 2 +- compiler/cmm/CmmCvt.hs | 2 +- compiler/cmm/CmmInfo.hs | 8 ++-- compiler/cmm/CmmLayoutStack.hs | 4 +- compiler/cmm/CmmOpt.hs | 4 +- compiler/cmm/CmmPipeline.hs | 6 ++-- compiler/cmm/CmmProcPoint.hs | 25 +++++++++----- compiler/cmm/MkGraph.hs | 12 +++--- compiler/cmm/OldCmm.hs | 6 ++-- compiler/cmm/OldCmmLint.hs | 2 +- compiler/cmm/PprC.hs | 2 +- compiler/cmm/PprCmmDecl.hs | 4 +- compiler/codeGen/CgUtils.hs | 4 +- compiler/codeGen/StgCmmExpr.hs | 2 +- compiler/codeGen/StgCmmForeign.hs | 2 +- compiler/codeGen/StgCmmHeap.hs | 2 +- compiler/codeGen/StgCmmLayout.hs | 4 +- compiler/codeGen/StgCmmMonad.hs | 20 +++++----- compiler/llvmGen/LlvmCodeGen.hs | 4 +- compiler/llvmGen/LlvmCodeGen/CodeGen.hs | 4 +- compiler/llvmGen/LlvmCodeGen/Ppr.hs | 2 +- compiler/nativeGen/AsmCodeGen.lhs | 28 +++++++------- compiler/nativeGen/PIC.hs | 16 ++++---- compiler/nativeGen/PPC/CodeGen.hs | 4 +- compiler/nativeGen/PPC/Ppr.hs | 2 +- compiler/nativeGen/RegAlloc/Graph/Coalesce.hs | 2 +- compiler/nativeGen/RegAlloc/Graph/Spill.hs | 4 +- compiler/nativeGen/RegAlloc/Graph/SpillClean.hs | 4 +- compiler/nativeGen/RegAlloc/Graph/SpillCost.hs | 2 +- compiler/nativeGen/RegAlloc/Linear/Main.hs | 10 +++--- compiler/nativeGen/RegAlloc/Liveness.hs | 42 +++++++++++----------- compiler/nativeGen/SPARC/CodeGen.hs | 4 +- compiler/nativeGen/SPARC/CodeGen/Expand.hs | 4 +- compiler/nativeGen/SPARC/Ppr.hs | 2 +- compiler/nativeGen/X86/CodeGen.hs | 4 +- compiler/nativeGen/X86/Instr.hs | 4 +- compiler/nativeGen/X86/Ppr.hs | 2 +- 39 files changed, 145 insertions(+), 130 deletions(-) Diff suppressed because of size. To see it, use: git show 5ee08ddffbbe596d7716a09306888004e6baf2b1