SIL: Fix some verifier bugs. ArchetypeMethodInst was still trying to cast to LValueType rather than checking the address-ness of the SIL type, and ApplyInst was failing for an address-only byref argument. This makes the last disabled expressions test pass again.
SIL: Fix some verifier bugs.
ArchetypeMethodInst was still trying to cast to LValueType rather than checking the address-ness of the SIL type, and ApplyInst was failing for an address-only byref argument. This makes the last disabled expressions test pass again.

Swift SVN r3577

felix91gr/swift,gmilos/swift,tjw/swift,dduan/swift,huonw/swift,cbrentharris/swift,uasys/swift,IngmarStein/swift,swiftix/swift,sdulal/swift,xwu/swift,swiftix/swift,alblue/swift,amraboelela/swift,frootloops/swift,johnno1962d/swift,austinzheng/swift,xedin/swift,djwbrown/swift,glessard/swift,natecook1000/swift,jopamer/swift,djwbrown/swift,slavapestov/swift,LeoShimonaka/swift,codestergit/swift,stephentyrone/swift,jmgc/swift,LeoShimonaka/swift,rudkx/swift,milseman/swift,xwu/swift,austinzheng/swift,therealbnut/swift,SwiftAndroid/swift,nathawes/swift,brentdax/swift,jckarter/swift,xwu/swift,milseman/swift,ahoppen/swift,deyton/swift,parkera/swift,xedin/swift,tkremenek/swift,atrick/swift,return/swift,stephentyrone/swift,gregomni/swift,shajrawi/swift,MukeshKumarS/Swift,xedin/swift,therealbnut/swift,natecook1000/swift,hooman/swift,hughbe/swift,roambotics/swift,sdulal/swift,hughbe/swift,ahoppen/swift,danielmartin/swift,danielmartin/swift,xwu/swift,atrick/swift,modocache/swift,tkremenek/swift,deyton/swift,codestergit/swift,harlanhaskins/swift,CodaFi/swift,CodaFi/swift,hughbe/swift,apple/swift,sschiau/swift,harlanhaskins/swift,hughbe/swift,lorentey/swift,rudkx/swift,JaSpa/swift,calebd/swift,danielmartin/swift,jtbandes/swift,ahoppen/swift,huonw/swift,SwiftAndroid/swift,hooman/swift,russbishop/swift,lorentey/swift,JGiola/swift,OscarSwanros/swift,slavapestov/swift,shahmishal/swift,sschiau/swift,jmgc/swift,swiftix/swift,zisko/swift,cbrentharris/swift,jtbandes/swift,jckarter/swift,lorentey/swift,IngmarStein/swift,brentdax/swift,allevato/swift,ken0nek/swift,devincoughlin/swift,tjw/swift,jtbandes/swift,uasys/swift,MukeshKumarS/Swift,zisko/swift,Ivacker/swift,xedin/swift,gottesmm/swift,gribozavr/swift,djwbrown/swift,JaSpa/swift,sschiau/swift,parkera/swift,karwa/swift,harlanhaskins/swift,KrishMunot/swift,natecook1000/swift,zisko/swift,huonw/swift,swiftix/swift.old,JGiola/swift,benlangmuir/swift,khizkhiz/swift,kusl/swift,return/swift,allevato/swift,ben-ng/swift,gmilos/swift,swiftix/swift.old,jmgc/swift,amraboelela/swift,JGiola/swift,manavgabhawala/swift,milseman/swift,kentya6/swift,swiftix/swift,tinysun212/swift-windows,alblue/swift,slavapestov/swift,huonw/swift,kentya6/swift,kperryua/swift,Ivacker/swift,harlanhaskins/swift,kentya6/swift,modocache/swift,CodaFi/swift,apple/swift,modocache/swift,sschiau/swift,swiftix/swift.old,lorentey/swift,ben-ng/swift,johnno1962d/swift,dduan/swift,kstaring/swift,jopamer/swift,glessard/swift,nathawes/swift,CodaFi/swift,danielmartin/swift,sdulal/swift,swiftix/swift,kusl/swift,parkera/swift,kstaring/swift,KrishMunot/swift,tardieu/swift,CodaFi/swift,danielmartin/swift,Jnosh/swift,nathawes/swift,gmilos/swift,gottesmm/swift,Ivacker/swift,hughbe/swift,parkera/swift,gottesmm/swift,tjw/swift,LeoShimonaka/swift,codestergit/swift,frootloops/swift,allevato/swift,deyton/swift,johnno1962d/swift,frootloops/swift,hooman/swift,therealbnut/swift,JaSpa/swift,gribozavr/swift,IngmarStein/swift,kentya6/swift,shajrawi/swift,alblue/swift,calebd/swift,russbishop/swift,tjw/swift,hooman/swift,manavgabhawala/swift,emilstahl/swift,tkremenek/swift,therealbnut/swift,lorentey/swift,cbrentharris/swift,jopamer/swift,ben-ng/swift,stephentyrone/swift,manavgabhawala/swift,kstaring/swift,shajrawi/swift,nathawes/swift,Jnosh/swift,russbishop/swift,adrfer/swift,harlanhaskins/swift,hooman/swift,JGiola/swift,SwiftAndroid/swift,JGiola/swift,gottesmm/swift,austinzheng/swift,SwiftAndroid/swift,aschwaighofer/swift,gmilos/swift,bitjammer/swift,sschiau/swift,mightydeveloper/swift,modocache/swift,tardieu/swift,russbishop/swift,nathawes/swift,ken0nek/swift,atrick/swift,shahmishal/swift,jckarter/swift,manavgabhawala/swift,arvedviehweger/swift,xedin/swift,xwu/swift,austinzheng/swift,khizkhiz/swift,swiftix/swift.old,emilstahl/swift,Ivacker/swift,LeoShimonaka/swift,tardieu/swift,KrishMunot/swift,glessard/swift,adrfer/swift,Jnosh/swift,parkera/swift,benlangmuir/swift,MukeshKumarS/Swift,tjw/swift,ken0nek/swift,jopamer/swift,sdulal/swift,sschiau/swift,frootloops/swift,mightydeveloper/swift,gribozavr/swift,bitjammer/swift,shahmishal/swift,practicalswift/swift,swiftix/swift,karwa/swift,bitjammer/swift,rudkx/swift,swiftix/swift.old,huonw/swift,kperryua/swift,adrfer/swift,xwu/swift,karwa/swift,tardieu/swift,jtbandes/swift,milseman/swift,johnno1962d/swift,devincoughlin/swift,Jnosh/swift,stephentyrone/swift,hughbe/swift,sschiau/swift,ken0nek/swift,arvedviehweger/swift,karwa/swift,zisko/swift,return/swift,adrfer/swift,aschwaighofer/swift,natecook1000/swift,kentya6/swift,OscarSwanros/swift,brentdax/swift,brentdax/swift,OscarSwanros/swift,tkremenek/swift,djwbrown/swift,ben-ng/swift,atrick/swift,arvedviehweger/swift,emilstahl/swift,practicalswift/swift,arvedviehweger/swift,felix91gr/swift,cbrentharris/swift,dduan/swift,calebd/swift,codestergit/swift,airspeedswift/swift,djwbrown/swift,kstaring/swift,sdulal/swift,adrfer/swift,roambotics/swift,gmilos/swift,parkera/swift,gottesmm/swift,calebd/swift,mightydeveloper/swift,gregomni/swift,practicalswift/swift,khizkhiz/swift,devincoughlin/swift,kentya6/swift,SwiftAndroid/swift,ken0nek/swift,lorentey/swift,JGiola/swift,KrishMunot/swift,huonw/swift,roambotics/swift,xedin/swift,zisko/swift,Jnosh/swift,mightydeveloper/swift,IngmarStein/swift,emilstahl/swift,emilstahl/swift,calebd/swift,ken0nek/swift,jmgc/swift,rudkx/swift,practicalswift/swift,adrfer/swift,slavapestov/swift,Jnosh/swift,khizkhiz/swift,nathawes/swift,OscarSwanros/swift,shahmishal/swift,airspeedswift/swift,mightydeveloper/swift,karwa/swift,austinzheng/swift,amraboelela/swift,jtbandes/swift,practicalswift/swift,kusl/swift,bitjammer/swift,amraboelela/swift,devincoughlin/swift,danielmartin/swift,LeoShimonaka/swift,jmgc/swift,jmgc/swift,zisko/swift,airspeedswift/swift,MukeshKumarS/Swift,jckarter/swift,bitjammer/swift,amraboelela/swift,allevato/swift,swiftix/swift,kperryua/swift,jckarter/swift,slavapestov/swift,mightydeveloper/swift,russbishop/swift,OscarSwanros/swift,felix91gr/swift,ahoppen/swift,gribozavr/swift,shahmishal/swift,kentya6/swift,CodaFi/swift,swiftix/swift.old,allevato/swift,ken0nek/swift,stephentyrone/swift,dreamsxin/swift,danielmartin/swift,gribozavr/swift,apple/swift,russbishop/swift,kusl/swift,uasys/swift,JaSpa/swift,manavgabhawala/swift,benlangmuir/swift,jtbandes/swift,glessard/swift,benlangmuir/swift,deyton/swift,felix91gr/swift,austinzheng/swift,frootloops/swift,tinysun212/swift-windows,hooman/swift,swiftix/swift.old,shajrawi/swift,roambotics/swift,jckarter/swift,manavgabhawala/swift,jmgc/swift,xwu/swift,modocache/swift,milseman/swift,hooman/swift,emilstahl/swift,dduan/swift,jckarter/swift,benlangmuir/swift,cbrentharris/swift,gregomni/swift,arvedviehweger/swift,parkera/swift,return/swift,sdulal/swift,calebd/swift,khizkhiz/swift,tkremenek/swift,mightydeveloper/swift,tinysun212/swift-windows,rudkx/swift,felix91gr/swift,uasys/swift,SwiftAndroid/swift,tinysun212/swift-windows,modocache/swift,frootloops/swift,alblue/swift,milseman/swift,shajrawi/swift,alblue/swift,nathawes/swift,gmilos/swift,stephentyrone/swift,sschiau/swift,Ivacker/swift,ben-ng/swift,alblue/swift,IngmarStein/swift,SwiftAndroid/swift,codestergit/swift,emilstahl/swift,gribozavr/swift,arvedviehweger/swift,kstaring/swift,dduan/swift,MukeshKumarS/Swift,therealbnut/swift,felix91gr/swift,arvedviehweger/swift,huonw/swift,xedin/swift,JaSpa/swift,JaSpa/swift,kperryua/swift,natecook1000/swift,airspeedswift/swift,Ivacker/swift,devincoughlin/swift,lorentey/swift,return/swift,gottesmm/swift,emilstahl/swift,devincoughlin/swift,dduan/swift,dreamsxin/swift,ben-ng/swift,apple/swift,djwbrown/swift,Jnosh/swift,russbishop/swift,milseman/swift,OscarSwanros/swift,karwa/swift,uasys/swift,JaSpa/swift,roambotics/swift,LeoShimonaka/swift,apple/swift,shahmishal/swift,airspeedswift/swift,return/swift,kstaring/swift,tjw/swift,tardieu/swift,deyton/swift,tardieu/swift,aschwaighofer/swift,gribozavr/swift,alblue/swift,bitjammer/swift,practicalswift/swift,therealbnut/swift,johnno1962d/swift,glessard/swift,slavapestov/swift,aschwaighofer/swift,MukeshKumarS/Swift,MukeshKumarS/Swift,shajrawi/swift,CodaFi/swift,aschwaighofer/swift,mightydeveloper/swift,atrick/swift,johnno1962d/swift,brentdax/swift,gribozavr/swift,modocache/swift,kperryua/swift,practicalswift/swift,aschwaighofer/swift,parkera/swift,IngmarStein/swift,OscarSwanros/swift,kentya6/swift,devincoughlin/swift,johnno1962d/swift,khizkhiz/swift,tkremenek/swift,tkremenek/swift,devincoughlin/swift,ben-ng/swift,tinysun212/swift-windows,manavgabhawala/swift,ahoppen/swift,apple/swift,natecook1000/swift,KrishMunot/swift,hughbe/swift,practicalswift/swift,adrfer/swift,sdulal/swift,deyton/swift,jopamer/swift,bitjammer/swift,jopamer/swift,codestergit/swift,stephentyrone/swift,allevato/swift,kusl/swift,dduan/swift,IngmarStein/swift,sdulal/swift,austinzheng/swift,djwbrown/swift,rudkx/swift,kusl/swift,tinysun212/swift-windows,amraboelela/swift,LeoShimonaka/swift,khizkhiz/swift,amraboelela/swift,gottesmm/swift,karwa/swift,Ivacker/swift,calebd/swift,cbrentharris/swift,kperryua/swift,return/swift,harlanhaskins/swift,slavapestov/swift,gregomni/swift,cbrentharris/swift,therealbnut/swift,glessard/swift,roambotics/swift,shahmishal/swift,felix91gr/swift,uasys/swift,gregomni/swift,shahmishal/swift,KrishMunot/swift,tinysun212/swift-windows,lorentey/swift,LeoShimonaka/swift,jopamer/swift,codestergit/swift,kstaring/swift,uasys/swift,shajrawi/swift,benlangmuir/swift,kusl/swift,aschwaighofer/swift,KrishMunot/swift,frootloops/swift,karwa/swift,kperryua/swift,tardieu/swift,airspeedswift/swift,natecook1000/swift,shajrawi/swift,airspeedswift/swift,swiftix/swift.old,allevato/swift,brentdax/swift,zisko/swift,xedin/swift,deyton/swift,ahoppen/swift,Ivacker/swift,brentdax/swift,atrick/swift,kusl/swift,gmilos/swift,harlanhaskins/swift,tjw/swift,cbrentharris/swift,jtbandes/swift,gregomni/swift