[commit: ghc] master: Revert change to alias handling in ppLlvmGlobal introduced in d87fa34, which requires LLVM 3.6. (fec1c30)

git at git.haskell.org git at git.haskell.org
Fri Nov 21 06:24:30 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/fec1c3091b43f316ae7e683ed72b3ec175d9fd6e/ghc

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

commit fec1c3091b43f316ae7e683ed72b3ec175d9fd6e
Author: Luke Iannini <lukexi at me.com>
Date:   Thu Nov 20 21:10:57 2014 -0800

    Revert change to alias handling in ppLlvmGlobal introduced in d87fa34, which requires LLVM 3.6.
    
    Signed-off-by: Austin Seipp <austin at well-typed.com>


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

fec1c3091b43f316ae7e683ed72b3ec175d9fd6e
 compiler/llvmGen/Llvm/PpLlvm.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/llvmGen/Llvm/PpLlvm.hs b/compiler/llvmGen/Llvm/PpLlvm.hs
index cdc407c..7307725 100644
--- a/compiler/llvmGen/Llvm/PpLlvm.hs
+++ b/compiler/llvmGen/Llvm/PpLlvm.hs
@@ -80,7 +80,7 @@ ppLlvmGlobal (LMGlobal var@(LMGlobalVar _ _ link x a c) dat) =
         const_link = case c of
           Global   -> ppr link <+> text "global"
           Constant -> ppr link <+> text "constant"
-          Alias    -> ppr link <+> text "alias"
+          Alias    -> text "alias" <+> ppr link
 
     in ppAssignment var $ const_link <+> rhs <> sect <> align
        $+$ newLine



More information about the ghc-commits mailing list