Codegen for case: Remove redundant void id checks
authorÖmer Sinan Ağacan <omeragacan@gmail.com>
Tue, 20 Sep 2016 04:19:15 +0000 (00:19 -0400)
committerÖmer Sinan Ağacan <omeragacan@gmail.com>
Tue, 20 Sep 2016 04:19:27 +0000 (00:19 -0400)
commit14c2e8e0c11bb2b95f81303284d1460bb80a9a98
treeb9c67117f0e2f7f79037e9a07c20a0256800f5cc
parentea310f9956179f91ca973bc747b0bc7b061bc174
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
compiler/codeGen/StgCmm.hs
compiler/codeGen/StgCmmBind.hs
compiler/codeGen/StgCmmClosure.hs
compiler/codeGen/StgCmmCon.hs
compiler/codeGen/StgCmmEnv.hs
compiler/codeGen/StgCmmExpr.hs
compiler/codeGen/StgCmmLayout.hs
compiler/codeGen/StgCmmTicky.hs
compiler/ghci/ByteCodeItbls.hs
compiler/simplStg/UnariseStg.hs