[commit: ghc] master: Occurrrence analysis improvements for NOINLINE functions (5695f46)
git at git.haskell.org
git at git.haskell.org
Fri Dec 8 17:21:10 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/5695f462f604fc63cbb45a7f3073bc114f9b475f/ghc
>---------------------------------------------------------------
commit 5695f462f604fc63cbb45a7f3073bc114f9b475f
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Fri Dec 8 15:39:05 2017 +0000
Occurrrence analysis improvements for NOINLINE functions
This patch fixes #14567. The idea is simple: if a function
is marked NOINLINE then it makes a great candidate for a loop
breaker.
Implementation is easy too, but it needs a little extra plubming,
notably the occ_unf_act field in OccEnv
>---------------------------------------------------------------
5695f462f604fc63cbb45a7f3073bc114f9b475f
compiler/coreSyn/CoreOpt.hs | 6 +++--
compiler/simplCore/OccurAnal.hs | 54 ++++++++++++++++++++++++----------------
compiler/simplCore/SimplCore.hs | 7 +++---
compiler/simplCore/SimplUtils.hs | 12 +++------
compiler/simplCore/Simplify.hs | 4 +--
5 files changed, 47 insertions(+), 36 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 5695f462f604fc63cbb45a7f3073bc114f9b475f
More information about the ghc-commits
mailing list