GlobalOpt: Fix this indirect use of SILClonerWithScope to pass the destination instead of the source function.
GlobalOpt: Fix this indirect use of SILClonerWithScope
to pass the destination instead of the source function.

rdar://problem/22725761

Swift SVN r32061

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