[commit: ghc] master: Codegen for case: Remove redundant void id checks (14c2e8e)
git at git.haskell.org
git at git.haskell.org
Tue Sep 20 04:20:00 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/14c2e8e0c11bb2b95f81303284d1460bb80a9a98/ghc
>---------------------------------------------------------------
commit 14c2e8e0c11bb2b95f81303284d1460bb80a9a98
Author: Ömer Sinan Ağacan <omeragacan at gmail.com>
Date: Tue Sep 20 00:19:15 2016 -0400
Codegen for case: Remove redundant void id checks
New unarise (714bebf) eliminates void binders in patterns already, so no
need to eliminate them here. I leave assertions to make sure this is the
case.
Assertion failure -> bug in unarise
Reviewers: bgamari, simonpj, austin, simonmar, hvr
Reviewed By: simonpj
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2416
>---------------------------------------------------------------
14c2e8e0c11bb2b95f81303284d1460bb80a9a98
compiler/codeGen/StgCmm.hs | 19 +++++++++------
compiler/codeGen/StgCmmBind.hs | 20 +++++++++------
compiler/codeGen/StgCmmClosure.hs | 51 ++++++++++++++++++++++++++++++++++++---
compiler/codeGen/StgCmmCon.hs | 15 ++++++------
compiler/codeGen/StgCmmEnv.hs | 22 +----------------
compiler/codeGen/StgCmmExpr.hs | 26 +++++++++++---------
compiler/codeGen/StgCmmLayout.hs | 30 ++++++++++++++---------
compiler/codeGen/StgCmmTicky.hs | 3 +--
compiler/ghci/ByteCodeItbls.hs | 18 ++++++++------
compiler/simplStg/UnariseStg.hs | 14 +++++++++++
10 files changed, 138 insertions(+), 80 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 14c2e8e0c11bb2b95f81303284d1460bb80a9a98
More information about the ghc-commits
mailing list