[commit: ghc] master: Stop the simplifier from removing StaticPtr binds. (dd92c67)
git at git.haskell.org
git at git.haskell.org
Tue Jun 28 14:04:01 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/dd92c67be573604290560b93890ce4b8eccd40b3/ghc
>---------------------------------------------------------------
commit dd92c67be573604290560b93890ce4b8eccd40b3
Author: Facundo DomÃnguez <facundo.dominguez at tweag.io>
Date: Mon Jun 27 22:30:50 2016 -0300
Stop the simplifier from removing StaticPtr binds.
Summary:
We have the FloatOut pass create exported ids for floated StaticPtr
bindings. The simplifier doesn't try to remove those.
This patch also improves on 7fc20b by making a common definition
collectStaticPtrSatArgs to test for StaticPtr binds.
Fixes #12207.
Test Plan: ./validate
Reviewers: simonpj, austin, bgamari, simonmar, goldfire
Reviewed By: simonpj
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2366
GHC Trac Issues: #12207
>---------------------------------------------------------------
dd92c67be573604290560b93890ce4b8eccd40b3
compiler/coreSyn/CoreLint.hs | 5 +----
compiler/coreSyn/CoreUtils.hs | 28 +++++++++++++++++++++++++++-
compiler/main/TidyPgm.hs | 10 +++-------
compiler/simplCore/SetLevels.hs | 18 +++++++++++++++---
compiler/simplCore/SimplCore.hs | 18 ++++++++++++++++--
testsuite/tests/codeGen/should_run/all.T | 4 +---
testsuite/tests/rts/all.T | 8 ++------
7 files changed, 65 insertions(+), 26 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 dd92c67be573604290560b93890ce4b8eccd40b3
More information about the ghc-commits
mailing list