Allow CaseElim if the case binder is the next thing to be eval'd
authorSimon Peyton Jones <simonpj@microsoft.com>
Tue, 22 Jan 2013 22:46:33 +0000 (22:46 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Tue, 22 Jan 2013 22:46:33 +0000 (22:46 +0000)
commit35f1fc957d152c520c90c6bd2330266e57578eb2
treef8f0836439c3eea266dc479046c61f07663eea49
parent7a1480c7c590d4d2fa7a105a4eebf299e921e056
Allow CaseElim if the case binder is the next thing to be eval'd

This makes CaseElim happen a bit more often.
See Note [Case binder next] in Simplify.
This came up when investigating Trac #7542.
compiler/simplCore/Simplify.lhs