On 10/01/2012 02:42, David Terei wrote:
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/4384e146640230399b38cd62e8e5df391f72c3a7

---------------------------------------------------------------

commit 4384e146640230399b38cd62e8e5df391f72c3a7
Author: David Terei<[email protected]>
Date:   Tue Jan 3 18:07:05 2012 +1100

     Track STG live register information for use in LLVM

     We now carry around with CmmJump statements a list of
     the STG registers that are live at that jump site.
     This is used by the LLVM backend so it can avoid
     unnesecarily passing around dead registers, improving
     perfromance. This gives us the framework to finally
     fix trac #4308.

Good stuff! We need to do this in the new code gen too, and we can also take advantage of this information in the native backends (do ordinary register allocation for the Rx/Fx/Dx regs rather than assuming they're always live).

Cheers,
        Simon



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to