SILGen: Fix materializeForSet in preparation for generic subscripts
SILGen: Fix materializeForSet in preparation for generic subscripts

Subscripts in generic context will soon have a
GenericFunctionType, so get ready to handle that.

amraboelela/swift,ahoppen/swift,benlangmuir/swift,swiftix/swift,codestergit/swift,tinysun212/swift-windows,nathawes/swift,ahoppen/swift,Jnosh/swift,shajrawi/swift,apple/swift,aschwaighofer/swift,milseman/swift,roambotics/swift,jckarter/swift,jopamer/swift,karwa/swift,jtbandes/swift,tkremenek/swift,arvedviehweger/swift,parkera/swift,amraboelela/swift,tkremenek/swift,atrick/swift,felix91gr/swift,bitjammer/swift,stephentyrone/swift,codestergit/swift,austinzheng/swift,return/swift,milseman/swift,sschiau/swift,gregomni/swift,parkera/swift,benlangmuir/swift,rudkx/swift,xedin/swift,airspeedswift/swift,xwu/swift,brentdax/swift,uasys/swift,return/swift,gribozavr/swift,devincoughlin/swift,shahmishal/swift,zisko/swift,stephentyrone/swift,calebd/swift,xwu/swift,roambotics/swift,roambotics/swift,danielmartin/swift,practicalswift/swift,apple/swift,tjw/swift,swiftix/swift,harlanhaskins/swift,jtbandes/swift,sschiau/swift,felix91gr/swift,austinzheng/swift,karwa/swift,ahoppen/swift,Jnosh/swift,hooman/swift,devincoughlin/swift,Jnosh/swift,natecook1000/swift,sschiau/swift,djwbrown/swift,shajrawi/swift,amraboelela/swift,jopamer/swift,jckarter/swift,gribozavr/swift,frootloops/swift,allevato/swift,calebd/swift,rudkx/swift,lorentey/swift,brentdax/swift,practicalswift/swift,tjw/swift,tkremenek/swift,JGiola/swift,amraboelela/swift,alblue/swift,hughbe/swift,atrick/swift,hooman/swift,tinysun212/swift-windows,aschwaighofer/swift,zisko/swift,danielmartin/swift,lorentey/swift,manavgabhawala/swift,natecook1000/swift,sschiau/swift,manavgabhawala/swift,tinysun212/swift-windows,uasys/swift,tinysun212/swift-windows,harlanhaskins/swift,ahoppen/swift,nathawes/swift,karwa/swift,xedin/swift,xwu/swift,return/swift,harlanhaskins/swift,austinzheng/swift,danielmartin/swift,austinzheng/swift,jopamer/swift,brentdax/swift,amraboelela/swift,shajrawi/swift,CodaFi/swift,roambotics/swift,aschwaighofer/swift,amraboelela/swift,practicalswift/swift,lorentey/swift,return/swift,parkera/swift,djwbrown/swift,benlangmuir/swift,xedin/swift,swiftix/swift,jtbandes/swift,karwa/swift,aschwaighofer/swift,tjw/swift,deyton/swift,hughbe/swift,apple/swift,deyton/swift,danielmartin/swift,rudkx/swift,practicalswift/swift,ahoppen/swift,alblue/swift,frootloops/swift,amraboelela/swift,alblue/swift,felix91gr/swift,arvedviehweger/swift,frootloops/swift,jmgc/swift,stephentyrone/swift,OscarSwanros/swift,manavgabhawala/swift,OscarSwanros/swift,nathawes/swift,deyton/swift,apple/swift,jmgc/swift,natecook1000/swift,airspeedswift/swift,swiftix/swift,calebd/swift,CodaFi/swift,tkremenek/swift,deyton/swift,ahoppen/swift,xedin/swift,gribozavr/swift,codestergit/swift,stephentyrone/swift,CodaFi/swift,sschiau/swift,stephentyrone/swift,manavgabhawala/swift,austinzheng/swift,swiftix/swift,gribozavr/swift,hughbe/swift,sschiau/swift,frootloops/swift,natecook1000/swift,devincoughlin/swift,huonw/swift,deyton/swift,natecook1000/swift,allevato/swift,hughbe/swift,jckarter/swift,frootloops/swift,tinysun212/swift-windows,devincoughlin/swift,shahmishal/swift,jopamer/swift,xwu/swift,gribozavr/swift,Jnosh/swift,swiftix/swift,jtbandes/swift,gregomni/swift,airspeedswift/swift,apple/swift,huonw/swift,harlanhaskins/swift,return/swift,atrick/swift,atrick/swift,jmgc/swift,gribozavr/swift,JGiola/swift,xwu/swift,JGiola/swift,arvedviehweger/swift,calebd/swift,glessard/swift,manavgabhawala/swift,glessard/swift,karwa/swift,return/swift,OscarSwanros/swift,jckarter/swift,JGiola/swift,uasys/swift,djwbrown/swift,hooman/swift,bitjammer/swift,tkremenek/swift,rudkx/swift,zisko/swift,devincoughlin/swift,tjw/swift,shahmishal/swift,xedin/swift,parkera/swift,jmgc/swift,jtbandes/swift,zisko/swift,gregomni/swift,jopamer/swift,hooman/swift,CodaFi/swift,aschwaighofer/swift,arvedviehweger/swift,benlangmuir/swift,CodaFi/swift,austinzheng/swift,bitjammer/swift,uasys/swift,milseman/swift,allevato/swift,shajrawi/swift,calebd/swift,jckarter/swift,tkremenek/swift,rudkx/swift,danielmartin/swift,karwa/swift,frootloops/swift,parkera/swift,deyton/swift,harlanhaskins/swift,gregomni/swift,tjw/swift,Jnosh/swift,xedin/swift,lorentey/swift,zisko/swift,Jnosh/swift,manavgabhawala/swift,shajrawi/swift,huonw/swift,huonw/swift,stephentyrone/swift,sschiau/swift,huonw/swift,practicalswift/swift,jckarter/swift,gribozavr/swift,tkremenek/swift,hughbe/swift,austinzheng/swift,shahmishal/swift,atrick/swift,sschiau/swift,zisko/swift,hooman/swift,hooman/swift,return/swift,xedin/swift,atrick/swift,felix91gr/swift,brentdax/swift,codestergit/swift,JGiola/swift,shahmishal/swift,shahmishal/swift,JGiola/swift,OscarSwanros/swift,xwu/swift,manavgabhawala/swift,CodaFi/swift,parkera/swift,djwbrown/swift,zisko/swift,milseman/swift,practicalswift/swift,jmgc/swift,karwa/swift,glessard/swift,milseman/swift,lorentey/swift,karwa/swift,arvedviehweger/swift,apple/swift,danielmartin/swift,lorentey/swift,natecook1000/swift,felix91gr/swift,allevato/swift,OscarSwanros/swift,djwbrown/swift,airspeedswift/swift,bitjammer/swift,shajrawi/swift,huonw/swift,glessard/swift,gregomni/swift,natecook1000/swift,harlanhaskins/swift,bitjammer/swift,roambotics/swift,shahmishal/swift,benlangmuir/swift,gribozavr/swift,devincoughlin/swift,parkera/swift,swiftix/swift,hughbe/swift,tjw/swift,allevato/swift,djwbrown/swift,benlangmuir/swift,hughbe/swift,roambotics/swift,calebd/swift,milseman/swift,codestergit/swift,brentdax/swift,tjw/swift,airspeedswift/swift,alblue/swift,nathawes/swift,tinysun212/swift-windows,shahmishal/swift,allevato/swift,uasys/swift,devincoughlin/swift,practicalswift/swift,danielmartin/swift,jmgc/swift,codestergit/swift,glessard/swift,alblue/swift,calebd/swift,stephentyrone/swift,hooman/swift,codestergit/swift,bitjammer/swift,alblue/swift,shajrawi/swift,airspeedswift/swift,nathawes/swift,bitjammer/swift,harlanhaskins/swift,jckarter/swift,aschwaighofer/swift,uasys/swift,rudkx/swift,devincoughlin/swift,jopamer/swift,djwbrown/swift,aschwaighofer/swift,CodaFi/swift,xwu/swift,arvedviehweger/swift,jmgc/swift,allevato/swift,jtbandes/swift,arvedviehweger/swift,nathawes/swift,xedin/swift,glessard/swift,Jnosh/swift,brentdax/swift,airspeedswift/swift,felix91gr/swift,shajrawi/swift,uasys/swift,huonw/swift,deyton/swift,parkera/swift,nathawes/swift,practicalswift/swift,jtbandes/swift,milseman/swift,OscarSwanros/swift,tinysun212/swift-windows,felix91gr/swift,alblue/swift,lorentey/swift,gregomni/swift,brentdax/swift,lorentey/swift,frootloops/swift,OscarSwanros/swift,jopamer/swift