[commit: ghc] wip/T14951-blunt: Run a simplifier directly after SpecConstr (cbbb872)

git at git.haskell.org git at git.haskell.org
Thu Mar 22 20:44:18 UTC 2018


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

On branch  : wip/T14951-blunt
Link       : http://ghc.haskell.org/trac/ghc/changeset/cbbb872db8a1c265bb13503d33af3de74f9c83fe/ghc

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

commit cbbb872db8a1c265bb13503d33af3de74f9c83fe
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Thu Mar 22 16:38:10 2018 -0400

    Run a simplifier directly after SpecConstr
    
    this is to measure the effect of a second SpecConstr run on
    perf.haskell.org. The following patch on this branch will add the second
    SpecConstr run, but I want to see which of the changes are just due to
    more runs of the simplifier.


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

cbbb872db8a1c265bb13503d33af3de74f9c83fe
 compiler/simplCore/SimplCore.hs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/compiler/simplCore/SimplCore.hs b/compiler/simplCore/SimplCore.hs
index 61622ae..0905d4f 100644
--- a/compiler/simplCore/SimplCore.hs
+++ b/compiler/simplCore/SimplCore.hs
@@ -346,6 +346,8 @@ getCoreToDo dflags
 
         runWhen spec_constr CoreDoSpecConstr,
 
+        simpl_phase 0 ["between-core-spec"] max_iter,
+
         maybe_rule_check (Phase 0),
 
         runWhen late_specialise



More information about the ghc-commits mailing list