[commit: ghc] wip/kavon-nosplit-llvm: add a todo for later (d3fe18c)

git at git.haskell.org git at git.haskell.org
Tue Jun 27 09:15:07 UTC 2017


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

On branch  : wip/kavon-nosplit-llvm
Link       : http://ghc.haskell.org/trac/ghc/changeset/d3fe18c3cb9d3e73cb14f3698bd069177beed454/ghc

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

commit d3fe18c3cb9d3e73cb14f3698bd069177beed454
Author: Kavon Farvardin <kavon at farvard.in>
Date:   Tue May 16 10:28:34 2017 +0100

    add a todo for later


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

d3fe18c3cb9d3e73cb14f3698bd069177beed454
 compiler/llvmGen/LlvmCodeGen/Base.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/llvmGen/LlvmCodeGen/Base.hs b/compiler/llvmGen/LlvmCodeGen/Base.hs
index 46d01bf..a4b7f07 100644
--- a/compiler/llvmGen/LlvmCodeGen/Base.hs
+++ b/compiler/llvmGen/LlvmCodeGen/Base.hs
@@ -126,7 +126,7 @@ llvmFunSig' live lbl link
        dflags <- getDynFlags
        -- the standard set of argument types passed/returned.
        let stdConvention = map getVarType (llvmFunArgs dflags live)
-       let retTy = LMStructU $ stdConvention
+       let retTy = LMStructU $ stdConvention -- TODO: introduce a type alias to reduce bytes output
        return $ LlvmFunctionDecl lbl link (llvmGhcCC dflags) retTy FixedArgs
                                  (map toParams stdConvention)
                                  (llvmFunAlign dflags)



More information about the ghc-commits mailing list