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

On branch  : master

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

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

commit a50cd57af13bbd046b274a42724f8ad059fc03be
Author: Geoffrey Mainland <gmain...@microsoft.com>
Date:   Thu Oct 18 16:53:25 2012 +0100

    Get ride of the -fregs-liveness flag.
    
    With the new register allocation scheme, the LLVM back end must always use
    liveness information.

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

 compiler/main/DynFlags.hs |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index 4cef95e..d394299 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -277,7 +277,6 @@ data GeneralFlag
    | Opt_RegsIterative                  -- do iterative coalescing graph 
coloring register allocation
    | Opt_PedanticBottoms                -- Be picky about how we treat bottom
    | Opt_LlvmTBAA                       -- Use LLVM TBAA infastructure for 
improving AA (hidden flag)
-   | Opt_RegLiveness                    -- Use the STG Reg liveness 
information (hidden flag)
    | Opt_IrrefutableTuples
    | Opt_CmmSink
    | Opt_CmmElimCommonBlocks
@@ -2349,7 +2348,6 @@ fFlags = [
   ( "regs-graph",                       Opt_RegsGraph, nop ),
   ( "regs-iterative",                   Opt_RegsIterative, nop ),
   ( "llvm-tbaa",                        Opt_LlvmTBAA, nop), -- hidden flag
-  ( "regs-liveness",                    Opt_RegLiveness, nop), -- hidden flag
   ( "irrefutable-tuples",               Opt_IrrefutableTuples, nop ),
   ( "cmm-sink",                         Opt_CmmSink, nop ),
   ( "cmm-elim-common-blocks",           Opt_CmmElimCommonBlocks, nop ),
@@ -2633,7 +2631,6 @@ optLevelFlags
 -- XXX disabled, see #7192
 --    , ([2],     Opt_RegsGraph)
     , ([0,1,2], Opt_LlvmTBAA)
-    , ([0,1,2], Opt_RegLiveness)
     , ([1,2],   Opt_CmmSink)
     , ([1,2],   Opt_CmmElimCommonBlocks)
 



_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to