[commit: ghc] wip/kavon-llvm-improve: add lower-expect to lvl 0 optimization; it's basically free perf (aa362d4)

git at git.haskell.org git at git.haskell.org
Sun Sep 30 23:47:58 UTC 2018


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

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

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

commit aa362d40993e5b43df2f969d112e21eb25faaea9
Author: Kavon Farvardin <kavon at farvard.in>
Date:   Sun Sep 30 18:47:39 2018 -0500

    add lower-expect to lvl 0 optimization; it's basically free perf


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

aa362d40993e5b43df2f969d112e21eb25faaea9
 llvm-passes | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm-passes b/llvm-passes
index 5183c9f..14eb62d 100644
--- a/llvm-passes
+++ b/llvm-passes
@@ -1,5 +1,5 @@
 [
-(0, "-mem2reg -globalopt"),
+(0, "-mem2reg -globalopt -lower-expect"),
 (1, "-O1 -globalopt"),
 (2, "-O2")
 ]



More information about the ghc-commits mailing list