[commit: ghc] wip/T14152: Run exitification before the main simplifier (33e13d3)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 13:23:50 UTC 2017


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

On branch  : wip/T14152
Link       : http://ghc.haskell.org/trac/ghc/changeset/33e13d34a583715bae40e5216e5697989075d3e8/ghc

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

commit 33e13d34a583715bae40e5216e5697989075d3e8
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Thu Oct 26 09:21:20 2017 -0400

    Run exitification before the main simplifier
    
    (This is series of commit to measure and optimize placement.)


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

33e13d34a583715bae40e5216e5697989075d3e8
 compiler/simplCore/SimplCore.hs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/simplCore/SimplCore.hs b/compiler/simplCore/SimplCore.hs
index 45823d4..10115c4 100644
--- a/compiler/simplCore/SimplCore.hs
+++ b/compiler/simplCore/SimplCore.hs
@@ -282,10 +282,10 @@ getCoreToDo dflags
            -- StaticPtrTable.
            static_ptrs_float_outwards,
 
-        runWhen exitification CoreDoExitify,
-
         simpl_phases,
 
+        runWhen exitification CoreDoExitify,
+
                 -- Phase 0: allow all Ids to be inlined now
                 -- This gets foldr inlined before strictness analysis
 



More information about the ghc-commits mailing list