Generate better derived code for Eq
Generate better derived code for Eq

In particular, when there are only a few nullary constructors generate
regular pattern matching code, rather than using con2Tag.  This avoids
generating unnecessary join points, which can make the code noticably
worse in the few-constructors case.

spacekitteh/smcghc,olsner/ghc,sdiehl/ghc,forked-upstream-packages-for-ghcjs/ghc,ml9951/ghc,holzensp/ghc,frantisekfarka/ghc-dsi,tjakway/ghcjvm,spacekitteh/smcghc,sgillespie/ghc,bitemyapp/ghc,mcschroeder/ghc,nathyong/microghc-ghc,fmthoma/ghc,mcschroeder/ghc,mettekou/ghc,hferreiro/replay,AlexanderPankiv/ghc,vikraman/ghc,mettekou/ghc,ghc-android/ghc,snoyberg/ghc,bitemyapp/ghc,sdiehl/ghc,gcampax/ghc,ml9951/ghc,gcampax/ghc,da-x/ghc,ekmett/ghc,olsner/ghc,christiaanb/ghc,ekmett/ghc,vikraman/ghc,GaloisInc/halvm-ghc,sgillespie/ghc,elieux/ghc,mettekou/ghc,sdiehl/ghc,snoyberg/ghc,mfine/ghc,nathyong/microghc-ghc,wxwxwwxxx/ghc,vTurbine/ghc,nushio3/ghc,snoyberg/ghc,lukexi/ghc,oldmanmike/ghc,ezyang/ghc,da-x/ghc,forked-upstream-packages-for-ghcjs/ghc,jstolarek/ghc,gcampax/ghc,urbanslug/ghc,AlexanderPankiv/ghc,mcschroeder/ghc,ghc-android/ghc,tjakway/ghcjvm,mettekou/ghc,anton-dessiatov/ghc,gcampax/ghc,frantisekfarka/ghc-dsi,fmthoma/ghc,olsner/ghc,holzensp/ghc,siddhanathan/ghc,sdiehl/ghc,sdiehl/ghc,ml9951/ghc,snoyberg/ghc,ml9951/ghc,fmthoma/ghc,tjakway/ghcjvm,wxwxwwxxx/ghc,christiaanb/ghc,vikraman/ghc,wxwxwwxxx/ghc,lukexi/ghc-7.8-arm64,gridaphobe/ghc,gridaphobe/ghc,GaloisInc/halvm-ghc,green-haskell/ghc,da-x/ghc,tjakway/ghcjvm,nathyong/microghc-ghc,nushio3/ghc,AlexanderPankiv/ghc,lukexi/ghc-7.8-arm64,gridaphobe/ghc,vTurbine/ghc,frantisekfarka/ghc-dsi,fmthoma/ghc,frantisekfarka/ghc-dsi,TomMD/ghc,ekmett/ghc,spacekitteh/smcghc,forked-upstream-packages-for-ghcjs/ghc,urbanslug/ghc,hferreiro/replay,mcschroeder/ghc,forked-upstream-packages-for-ghcjs/ghc,fmthoma/ghc,lukexi/ghc,mfine/ghc,gridaphobe/ghc,ghc-android/ghc,shlevy/ghc,siddhanathan/ghc,nkaretnikov/ghc,tjakway/ghcjvm,ryantm/ghc,mettekou/ghc,ezyang/ghc,jstolarek/ghc,spacekitteh/smcghc,nushio3/ghc,vTurbine/ghc,elieux/ghc,elieux/ghc,olsner/ghc,anton-dessiatov/ghc,gridaphobe/ghc,ml9951/ghc,acowley/ghc,ghc-android/ghc,bitemyapp/ghc,vikraman/ghc,snoyberg/ghc,oldmanmike/ghc,da-x/ghc,TomMD/ghc,ezyang/ghc,shlevy/ghc,mfine/ghc,snoyberg/ghc,da-x/ghc,christiaanb/ghc,ezyang/ghc,green-haskell/ghc,bitemyapp/ghc,wxwxwwxxx/ghc,AlexanderPankiv/ghc,acowley/ghc,vTurbine/ghc,acowley/ghc,lukexi/ghc-7.8-arm64,ghc-android/ghc,ryantm/ghc,elieux/ghc,anton-dessiatov/ghc,ghc-android/ghc,holzensp/ghc,da-x/ghc,fmthoma/ghc,da-x/ghc,acowley/ghc,vikraman/ghc,nkaretnikov/ghc,christiaanb/ghc,green-haskell/ghc,sgillespie/ghc,oldmanmike/ghc,sdiehl/ghc,jstolarek/ghc,fmthoma/ghc,olsner/ghc,urbanslug/ghc,acowley/ghc,lukexi/ghc-7.8-arm64,AlexanderPankiv/ghc,urbanslug/ghc,ml9951/ghc,tibbe/ghc,ryantm/ghc,forked-upstream-packages-for-ghcjs/ghc,christiaanb/ghc,nathyong/microghc-ghc,shlevy/ghc,siddhanathan/ghc,hferreiro/replay,elieux/ghc,ryantm/ghc,sgillespie/ghc,wxwxwwxxx/ghc,GaloisInc/halvm-ghc,lukexi/ghc,olsner/ghc,sgillespie/ghc,shlevy/ghc,mfine/ghc,bitemyapp/ghc,GaloisInc/halvm-ghc,acowley/ghc,vTurbine/ghc,nathyong/microghc-ghc,nkaretnikov/ghc,mfine/ghc,gcampax/ghc,nushio3/ghc,spacekitteh/smcghc,gridaphobe/ghc,siddhanathan/ghc,tibbe/ghc,gcampax/ghc,christiaanb/ghc,gcampax/ghc,anton-dessiatov/ghc,green-haskell/ghc,ml9951/ghc,mfine/ghc,mcschroeder/ghc,hferreiro/replay,GaloisInc/halvm-ghc,urbanslug/ghc,mfine/ghc,forked-upstream-packages-for-ghcjs/ghc,hferreiro/replay,tibbe/ghc,ezyang/ghc,urbanslug/ghc,oldmanmike/ghc,oldmanmike/ghc,sgillespie/ghc,lukexi/ghc-7.8-arm64,anton-dessiatov/ghc,tjakway/ghcjvm,forked-upstream-packages-for-ghcjs/ghc,lukexi/ghc,vikraman/ghc,tibbe/ghc,ezyang/ghc,ghc-android/ghc,jstolarek/ghc,olsner/ghc,nkaretnikov/ghc,anton-dessiatov/ghc,oldmanmike/ghc,hferreiro/replay,siddhanathan/ghc,AlexanderPankiv/ghc,TomMD/ghc,sdiehl/ghc,vTurbine/ghc,anton-dessiatov/ghc,GaloisInc/halvm-ghc,wxwxwwxxx/ghc,mettekou/ghc,TomMD/ghc,nkaretnikov/ghc,urbanslug/ghc,elieux/ghc,ryantm/ghc,nkaretnikov/ghc,sgillespie/ghc,siddhanathan/ghc,acowley/ghc,shlevy/ghc,elieux/ghc,mcschroeder/ghc,mcschroeder/ghc,shlevy/ghc,tjakway/ghcjvm,nushio3/ghc,mettekou/ghc,lukexi/ghc,ekmett/ghc,GaloisInc/halvm-ghc,gridaphobe/ghc,christiaanb/ghc,frantisekfarka/ghc-dsi,TomMD/ghc,jstolarek/ghc,ml9951/ghc,holzensp/ghc,nushio3/ghc,snoyberg/ghc,ekmett/ghc,TomMD/ghc,nathyong/microghc-ghc,siddhanathan/ghc,ezyang/ghc,vikraman/ghc,green-haskell/ghc,tibbe/ghc,nkaretnikov/ghc,TomMD/ghc,hferreiro/replay,AlexanderPankiv/ghc,nathyong/microghc-ghc,wxwxwwxxx/ghc,holzensp/ghc,nushio3/ghc,oldmanmike/ghc,vTurbine/ghc,shlevy/ghc