[commit: ghc] master: Get ride of the -fregs-liveness flag. (a50cd57)

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/a50cd57af13bbd046b274a42724f8ad059fc03be

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

commit a50cd57af13bbd046b274a42724f8ad059fc03be
Author: Geoffrey Mainland <[email protected]>
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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.