[commit: ghc] wip/T14152: Inline exit join points in the "final" simplifier iteration (a5770be)
git at git.haskell.org
git at git.haskell.org
Wed Oct 25 03:14:35 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/T14152
Link : http://ghc.haskell.org/trac/ghc/changeset/a5770be56f57c099c0f9a173d146e52e388d64d6/ghc
>---------------------------------------------------------------
commit a5770be56f57c099c0f9a173d146e52e388d64d6
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Fri Sep 1 15:02:34 2017 +0100
Inline exit join points in the "final" simplifier iteration
because the extra jump is a bit pointless there.
It still increases the number of instructions of `compress2` by 3.82%,
so that needs to be investiaged.
>---------------------------------------------------------------
a5770be56f57c099c0f9a173d146e52e388d64d6
compiler/simplCore/CoreMonad.hs | 7 +-
compiler/simplCore/Exitify.hs | 6 +
compiler/simplCore/SimplCore.hs | 40 ++--
compiler/simplCore/SimplUtils.hs | 7 +-
compiler/simplCore/Simplify.hs | 3 +-
testsuite/tests/simplCore/should_compile/T14152.hs | 22 ++
.../tests/simplCore/should_compile/T14152.stderr | 129 ++++++++++++
.../tests/simplCore/should_compile/T14152a.hs | 1 +
.../tests/simplCore/should_compile/T14152a.stderr | 222 +++++++++++++++++++++
testsuite/tests/simplCore/should_compile/all.T | 2 +
10 files changed, 417 insertions(+), 22 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 a5770be56f57c099c0f9a173d146e52e388d64d6
More information about the ghc-commits
mailing list