Enhance DI to know that trivial types don't have complicated cleanup semantics, so they don't need code motion on releases.  This fixes Jordan's testcase from rdar://15209088, though non-trivial types still don't work.
Enhance DI to know that trivial types don't have complicated cleanup semantics,
so they don't need code motion on releases.  This fixes Jordan's testcase from
rdar://15209088, though non-trivial types still don't work.


Swift SVN r10539

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