Tuning for argToPat
Tuning for argToPat

argToPat is a crucial function for SpecConstr, because it decides
what patterns are worth specialising.  I was being much too gung-ho about
constants.  This patch makes it much better.


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