Fix issue 2295.
Fix issue 2295.

Closes #2295. When creating shadow variables, copy the lvDontPromote flag
from the shadowed variable.

dpodder/coreclr,bartdesmet/coreclr,dasMulli/coreclr,stormleoxia/coreclr,mocsy/coreclr,krytarowski/coreclr,roncain/coreclr,parjong/coreclr,andschwa/coreclr,ZhichengZhu/coreclr,russellhadley/coreclr,Godin/coreclr,sejongoh/coreclr,LLITCHEV/coreclr,bartdesmet/coreclr,jamesqo/coreclr,parjong/coreclr,alexperovich/coreclr,wkchoy74/coreclr,parjong/coreclr,tijoytom/coreclr,JonHanna/coreclr,pgavlin/coreclr,ruben-ayrapetyan/coreclr,hseok-oh/coreclr,wkchoy74/coreclr,cydhaselton/coreclr,mskvortsov/coreclr,swgillespie/coreclr,sperling/coreclr,krk/coreclr,AlexGhiondea/coreclr,ZhichengZhu/coreclr,pgavlin/coreclr,hseok-oh/coreclr,JonHanna/coreclr,benpye/coreclr,josteink/coreclr,qiudesong/coreclr,SlavaRa/coreclr,vinnyrom/coreclr,naamunds/coreclr,LLITCHEV/coreclr,botaberg/coreclr,roncain/coreclr,YongseopKim/coreclr,bartonjs/coreclr,Godin/coreclr,rartemev/coreclr,JosephTremoulet/coreclr,SlavaRa/coreclr,mmitche/coreclr,benpye/coreclr,stormleoxia/coreclr,sperling/coreclr,shahid-pk/coreclr,yeaicc/coreclr,Dmitry-Me/coreclr,mmitche/coreclr,ramarag/coreclr,benpye/coreclr,cydhaselton/coreclr,tijoytom/coreclr,neurospeech/coreclr,dasMulli/coreclr,naamunds/coreclr,bartonjs/coreclr,mokchhya/coreclr,schellap/coreclr,cshung/coreclr,AlexGhiondea/coreclr,ragmani/coreclr,krk/coreclr,schellap/coreclr,JonHanna/coreclr,bartdesmet/coreclr,Godin/coreclr,cmckinsey/coreclr,wkchoy74/coreclr,wkchoy74/coreclr,ZhichengZhu/coreclr,yeaicc/coreclr,neurospeech/coreclr,shahid-pk/coreclr,poizan42/coreclr,kyulee1/coreclr,ruben-ayrapetyan/coreclr,sejongoh/coreclr,rartemev/coreclr,yeaicc/coreclr,mmitche/coreclr,andschwa/coreclr,mocsy/coreclr,cmckinsey/coreclr,gkhanna79/coreclr,mokchhya/coreclr,jamesqo/coreclr,stormleoxia/coreclr,mocsy/coreclr,russellhadley/coreclr,swgillespie/coreclr,James-Ko/coreclr,KrzysztofCwalina/coreclr,roncain/coreclr,wateret/coreclr,jhendrixMSFT/coreclr,roncain/coreclr,mocsy/coreclr,sjsinju/coreclr,wtgodbe/coreclr,Lucrecious/coreclr,hseok-oh/coreclr,qiudesong/coreclr,bartdesmet/coreclr,jamesqo/coreclr,sagood/coreclr,Godin/coreclr,dasMulli/coreclr,manu-silicon/coreclr,SlavaRa/coreclr,neurospeech/coreclr,LLITCHEV/coreclr,James-Ko/coreclr,manu-silicon/coreclr,alexperovich/coreclr,ruben-ayrapetyan/coreclr,sagood/coreclr,roncain/coreclr,KrzysztofCwalina/coreclr,russellhadley/coreclr,sjsinju/coreclr,cshung/coreclr,krytarowski/coreclr,Lucrecious/coreclr,ragmani/coreclr,tijoytom/coreclr,sperling/coreclr,andschwa/coreclr,swgillespie/coreclr,wateret/coreclr,wtgodbe/coreclr,josteink/coreclr,schellap/coreclr,yeaicc/coreclr,Godin/coreclr,hseok-oh/coreclr,jhendrixMSFT/coreclr,YongseopKim/coreclr,ragmani/coreclr,Dmitry-Me/coreclr,mokchhya/coreclr,JonHanna/coreclr,jhendrixMSFT/coreclr,sjsinju/coreclr,manu-silicon/coreclr,sperling/coreclr,Dmitry-Me/coreclr,cydhaselton/coreclr,JosephTremoulet/coreclr,benpye/coreclr,JosephTremoulet/coreclr,sejongoh/coreclr,SlavaRa/coreclr,poizan42/coreclr,kyulee1/coreclr,SlavaRa/coreclr,alexperovich/coreclr,dasMulli/coreclr,alexperovich/coreclr,jamesqo/coreclr,mskvortsov/coreclr,cmckinsey/coreclr,sjsinju/coreclr,sejongoh/coreclr,wtgodbe/coreclr,schellap/coreclr,Lucrecious/coreclr,swgillespie/coreclr,AlexGhiondea/coreclr,mokchhya/coreclr,roncain/coreclr,yizhang82/coreclr,ZhichengZhu/coreclr,ramarag/coreclr,martinwoodward/coreclr,mocsy/coreclr,ragmani/coreclr,gkhanna79/coreclr,mokchhya/coreclr,schellap/coreclr,Godin/coreclr,sejongoh/coreclr,wkchoy74/coreclr,wkchoy74/coreclr,stormleoxia/coreclr,sperling/coreclr,shahid-pk/coreclr,hseok-oh/coreclr,stormleoxia/coreclr,martinwoodward/coreclr,YongseopKim/coreclr,dpodder/coreclr,josteink/coreclr,krk/coreclr,martinwoodward/coreclr,andschwa/coreclr,shahid-pk/coreclr,gkhanna79/coreclr,qiudesong/coreclr,qiudesong/coreclr,qiudesong/coreclr,wtgodbe/coreclr,benpye/coreclr,ZhichengZhu/coreclr,schellap/coreclr,Dmitry-Me/coreclr,ramarag/coreclr,alexperovich/coreclr,parjong/coreclr,ramarag/coreclr,neurospeech/coreclr,andschwa/coreclr,poizan42/coreclr,andschwa/coreclr,josteink/coreclr,mskvortsov/coreclr,jamesqo/coreclr,Dmitry-Me/coreclr,JonHanna/coreclr,mokchhya/coreclr,mocsy/coreclr,James-Ko/coreclr,vinnyrom/coreclr,yeaicc/coreclr,swgillespie/coreclr,bartonjs/coreclr,schellap/coreclr,jhendrixMSFT/coreclr,bartonjs/coreclr,dpodder/coreclr,vinnyrom/coreclr,ZhichengZhu/coreclr,sejongoh/coreclr,pgavlin/coreclr,JosephTremoulet/coreclr,mskvortsov/coreclr,dasMulli/coreclr,dpodder/coreclr,botaberg/coreclr,tijoytom/coreclr,wtgodbe/coreclr,sperling/coreclr,yizhang82/coreclr,James-Ko/coreclr,wkchoy74/coreclr,YongseopKim/coreclr,chuck-mitchell/coreclr,sagood/coreclr,Godin/coreclr,wateret/coreclr,vinnyrom/coreclr,sagood/coreclr,chuck-mitchell/coreclr,mmitche/coreclr,benpye/coreclr,manu-silicon/coreclr,James-Ko/coreclr,KrzysztofCwalina/coreclr,YongseopKim/coreclr,AlexGhiondea/coreclr,wtgodbe/coreclr,cmckinsey/coreclr,yeaicc/coreclr,josteink/coreclr,benpye/coreclr,chuck-mitchell/coreclr,russellhadley/coreclr,manu-silicon/coreclr,KrzysztofCwalina/coreclr,yizhang82/coreclr,cmckinsey/coreclr,jhendrixMSFT/coreclr,kyulee1/coreclr,wateret/coreclr,James-Ko/coreclr,chuck-mitchell/coreclr,ragmani/coreclr,Lucrecious/coreclr,russellhadley/coreclr,poizan42/coreclr,cydhaselton/coreclr,parjong/coreclr,dasMulli/coreclr,roncain/coreclr,yizhang82/coreclr,mmitche/coreclr,wateret/coreclr,cshung/coreclr,sperling/coreclr,cmckinsey/coreclr,ZhichengZhu/coreclr,mskvortsov/coreclr,alexperovich/coreclr,bartonjs/coreclr,krytarowski/coreclr,swgillespie/coreclr,JosephTremoulet/coreclr,LLITCHEV/coreclr,mokchhya/coreclr,krk/coreclr,botaberg/coreclr,sagood/coreclr,cshung/coreclr,LLITCHEV/coreclr,gkhanna79/coreclr,jhendrixMSFT/coreclr,kyulee1/coreclr,vinnyrom/coreclr,shahid-pk/coreclr,AlexGhiondea/coreclr,chuck-mitchell/coreclr,mskvortsov/coreclr,Lucrecious/coreclr,LLITCHEV/coreclr,yizhang82/coreclr,krk/coreclr,yizhang82/coreclr,jhendrixMSFT/coreclr,krytarowski/coreclr,manu-silicon/coreclr,swgillespie/coreclr,naamunds/coreclr,rartemev/coreclr,gkhanna79/coreclr,SlavaRa/coreclr,shahid-pk/coreclr,stormleoxia/coreclr,pgavlin/coreclr,shahid-pk/coreclr,Dmitry-Me/coreclr,bartdesmet/coreclr,pgavlin/coreclr,sejongoh/coreclr,rartemev/coreclr,naamunds/coreclr,ruben-ayrapetyan/coreclr,stormleoxia/coreclr,dasMulli/coreclr,vinnyrom/coreclr,JonHanna/coreclr,botaberg/coreclr,sjsinju/coreclr,dpodder/coreclr,poizan42/coreclr,jamesqo/coreclr,pgavlin/coreclr,neurospeech/coreclr,bartdesmet/coreclr,cydhaselton/coreclr,poizan42/coreclr,sjsinju/coreclr,rartemev/coreclr,Lucrecious/coreclr,cshung/coreclr,rartemev/coreclr,Dmitry-Me/coreclr,josteink/coreclr,naamunds/coreclr,mocsy/coreclr,LLITCHEV/coreclr,naamunds/coreclr,KrzysztofCwalina/coreclr,sagood/coreclr,neurospeech/coreclr,Lucrecious/coreclr,martinwoodward/coreclr,tijoytom/coreclr,martinwoodward/coreclr,kyulee1/coreclr,KrzysztofCwalina/coreclr,parjong/coreclr,andschwa/coreclr,yeaicc/coreclr,gkhanna79/coreclr,vinnyrom/coreclr,botaberg/coreclr,tijoytom/coreclr,naamunds/coreclr,cshung/coreclr,wateret/coreclr,bartdesmet/coreclr,chuck-mitchell/coreclr,russellhadley/coreclr,qiudesong/coreclr,martinwoodward/coreclr,bartonjs/coreclr,JosephTremoulet/coreclr,YongseopKim/coreclr,kyulee1/coreclr,cydhaselton/coreclr,ramarag/coreclr,KrzysztofCwalina/coreclr,martinwoodward/coreclr,ramarag/coreclr,josteink/coreclr,ruben-ayrapetyan/coreclr,krk/coreclr,hseok-oh/coreclr,ruben-ayrapetyan/coreclr,cmckinsey/coreclr,chuck-mitchell/coreclr,krytarowski/coreclr,dpodder/coreclr,botaberg/coreclr,ragmani/coreclr,krytarowski/coreclr,mmitche/coreclr,bartonjs/coreclr,manu-silicon/coreclr,ramarag/coreclr,AlexGhiondea/coreclr