[commit: ghc] newcg: Remove the old stack layout algorithms (643eb06)
Simon Marlow
marlowsd at gmail.com
Thu Mar 15 14:25:40 CET 2012
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : newcg
http://hackage.haskell.org/trac/ghc/changeset/643eb066aa221976d2d57f2e2a2c46bc7fb44e24
>---------------------------------------------------------------
commit 643eb066aa221976d2d57f2e2a2c46bc7fb44e24
Author: Simon Marlow <marlowsd at gmail.com>
Date: Fri Mar 9 11:06:25 2012 +0000
Remove the old stack layout algorithms
Also, do removeDeadAssignments instead of cmmLiveness before stack
allocation, because the former also does liveness analysis, and we can
do just one liveness analysis instead of two. The stack layout
algorithm doesn't introduce any dead assignments, so this doesn't
affect the generated code.
compiler/cmm/CmmBuildInfoTables.hs | 1 -
compiler/cmm/CmmLayoutStack.hs | 4 +-
compiler/cmm/CmmLive.hs | 28 +-
compiler/cmm/CmmPipeline.hs | 59 +---
compiler/cmm/CmmProcPoint.hs | 3 +-
compiler/cmm/CmmSpillReload.hs | 171 ----------
compiler/cmm/CmmStackLayout.hs | 597 ------------------------------------
compiler/ghc.cabal.in | 2 -
8 files changed, 33 insertions(+), 832 deletions(-)
Diff suppressed because of size. To see it, use:
git show 643eb066aa221976d2d57f2e2a2c46bc7fb44e24
More information about the Cvs-ghc
mailing list