SIL: Fix ApplyInst verifier bug. If a function has an address-only return and a single non-tuple argument, then it's valid to have a two-argument call where the first argument matches the function input type and the second matches the result type. This occurs for instance if you try to call Builtin.load, with type Builtin.RawPointer -> T, for an address-only T.
SIL: Fix ApplyInst verifier bug.
If a function has an address-only return and a single non-tuple argument, then it's valid to have a two-argument call where the first argument matches the function input type and the second matches the result type. This occurs for instance if you try to call Builtin.load, with type Builtin.RawPointer -> T, for an address-only T.

Swift SVN r3587

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