[commit: ghc] wip/T14152: Run exitification after demand analysis (369385c)
git at git.haskell.org
git at git.haskell.org
Fri Oct 27 01:30:25 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/T14152
Link : http://ghc.haskell.org/trac/ghc/changeset/369385cc0a3601d5ea4d25530016aeae9f799230/ghc
>---------------------------------------------------------------
commit 369385cc0a3601d5ea4d25530016aeae9f799230
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Thu Oct 26 09:21:38 2017 -0400
Run exitification after demand analysis
>---------------------------------------------------------------
369385cc0a3601d5ea4d25530016aeae9f799230
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 10115c4..21a5c21 100644
--- a/compiler/simplCore/SimplCore.hs
+++ b/compiler/simplCore/SimplCore.hs
@@ -284,8 +284,6 @@ getCoreToDo dflags
simpl_phases,
- runWhen exitification CoreDoExitify,
-
-- Phase 0: allow all Ids to be inlined now
-- This gets foldr inlined before strictness analysis
@@ -312,6 +310,8 @@ getCoreToDo dflags
runWhen strictness demand_analyser,
+ runWhen exitification CoreDoExitify,
+
runWhen full_laziness $
CoreDoFloatOutwards FloatOutSwitches {
floatOutLambdas = floatLamArgs dflags,
More information about the ghc-commits
mailing list