Optimise comparisons against min/maxBound (ticket #3744).
authorMichal Terepeta <michal.terepeta@gmail.com>
Wed, 27 Oct 2010 18:40:54 +0000 (18:40 +0000)
committerMichal Terepeta <michal.terepeta@gmail.com>
Wed, 27 Oct 2010 18:40:54 +0000 (18:40 +0000)
commitd4781f3e6e8cead1cbeac5337f9f78440c8df8bc
tree4aa423dcf1218bcaccb53f765704468aa7702399
parent3cdef7b150e17fe6512ff33858a720a47d5adbe9
Optimise comparisons against min/maxBound (ticket #3744).

This optimises away comparisons with minBound or maxBound
that are always false or always true.
compiler/prelude/PrelRules.lhs