Fix and-cmp to test recognition
Fix and-cmp to test recognition

Containment is used by TreeNodeInfoInitCmp to tell genCompareInt that a "and-cmp to test" pattern has been recognized.

Before LSRA added "reg optional" the result of isContained was solely determined by TreeNodeInfoInit. Now LSRA can make operands contained and then that happens genCompareInt wrongly believes that TreeNodeInfoInitCmp recognized the pattern.

To fix this genCompareInt needs to recognize (x and c) == 0 in addition to checking isContained.

AlexGhiondea/coreclr,dpodder/coreclr,JonHanna/coreclr,mmitche/coreclr,AlexGhiondea/coreclr,ruben-ayrapetyan/coreclr,dpodder/coreclr,alexperovich/coreclr,parjong/coreclr,hseok-oh/coreclr,jamesqo/coreclr,yeaicc/coreclr,kyulee1/coreclr,gkhanna79/coreclr,tijoytom/coreclr,JonHanna/coreclr,YongseopKim/coreclr,yeaicc/coreclr,mskvortsov/coreclr,alexperovich/coreclr,wtgodbe/coreclr,dasMulli/coreclr,gkhanna79/coreclr,parjong/coreclr,wtgodbe/coreclr,JonHanna/coreclr,cmckinsey/coreclr,yeaicc/coreclr,krk/coreclr,pgavlin/coreclr,wtgodbe/coreclr,qiudesong/coreclr,botaberg/coreclr,Dmitry-Me/coreclr,russellhadley/coreclr,krk/coreclr,krytarowski/coreclr,kyulee1/coreclr,mskvortsov/coreclr,YongseopKim/coreclr,pgavlin/coreclr,krk/coreclr,dpodder/coreclr,dasMulli/coreclr,gkhanna79/coreclr,mmitche/coreclr,JonHanna/coreclr,cshung/coreclr,Dmitry-Me/coreclr,neurospeech/coreclr,sagood/coreclr,poizan42/coreclr,Dmitry-Me/coreclr,ruben-ayrapetyan/coreclr,cmckinsey/coreclr,krytarowski/coreclr,ragmani/coreclr,James-Ko/coreclr,sagood/coreclr,hseok-oh/coreclr,ruben-ayrapetyan/coreclr,JonHanna/coreclr,sjsinju/coreclr,yizhang82/coreclr,YongseopKim/coreclr,AlexGhiondea/coreclr,russellhadley/coreclr,pgavlin/coreclr,ragmani/coreclr,krk/coreclr,James-Ko/coreclr,kyulee1/coreclr,jamesqo/coreclr,wateret/coreclr,qiudesong/coreclr,yizhang82/coreclr,poizan42/coreclr,alexperovich/coreclr,mmitche/coreclr,alexperovich/coreclr,cmckinsey/coreclr,botaberg/coreclr,krk/coreclr,pgavlin/coreclr,ruben-ayrapetyan/coreclr,ragmani/coreclr,JosephTremoulet/coreclr,Dmitry-Me/coreclr,wateret/coreclr,tijoytom/coreclr,rartemev/coreclr,krytarowski/coreclr,sjsinju/coreclr,jamesqo/coreclr,dasMulli/coreclr,hseok-oh/coreclr,cydhaselton/coreclr,cydhaselton/coreclr,yeaicc/coreclr,ragmani/coreclr,yizhang82/coreclr,krk/coreclr,ramarag/coreclr,gkhanna79/coreclr,cydhaselton/coreclr,kyulee1/coreclr,ragmani/coreclr,parjong/coreclr,krytarowski/coreclr,JosephTremoulet/coreclr,neurospeech/coreclr,James-Ko/coreclr,botaberg/coreclr,jamesqo/coreclr,ramarag/coreclr,cmckinsey/coreclr,AlexGhiondea/coreclr,YongseopKim/coreclr,sagood/coreclr,jamesqo/coreclr,cydhaselton/coreclr,mmitche/coreclr,qiudesong/coreclr,yizhang82/coreclr,wateret/coreclr,JosephTremoulet/coreclr,russellhadley/coreclr,hseok-oh/coreclr,ragmani/coreclr,mmitche/coreclr,sjsinju/coreclr,sjsinju/coreclr,poizan42/coreclr,botaberg/coreclr,rartemev/coreclr,ramarag/coreclr,dasMulli/coreclr,JonHanna/coreclr,parjong/coreclr,wateret/coreclr,mskvortsov/coreclr,ruben-ayrapetyan/coreclr,poizan42/coreclr,wtgodbe/coreclr,parjong/coreclr,yeaicc/coreclr,dasMulli/coreclr,gkhanna79/coreclr,wateret/coreclr,gkhanna79/coreclr,dasMulli/coreclr,cmckinsey/coreclr,yeaicc/coreclr,Dmitry-Me/coreclr,kyulee1/coreclr,dpodder/coreclr,krytarowski/coreclr,cshung/coreclr,cshung/coreclr,russellhadley/coreclr,sjsinju/coreclr,sjsinju/coreclr,wateret/coreclr,qiudesong/coreclr,yizhang82/coreclr,JosephTremoulet/coreclr,hseok-oh/coreclr,dpodder/coreclr,rartemev/coreclr,cmckinsey/coreclr,pgavlin/coreclr,AlexGhiondea/coreclr,ramarag/coreclr,cshung/coreclr,James-Ko/coreclr,cydhaselton/coreclr,neurospeech/coreclr,ramarag/coreclr,YongseopKim/coreclr,neurospeech/coreclr,alexperovich/coreclr,sagood/coreclr,James-Ko/coreclr,James-Ko/coreclr,russellhadley/coreclr,alexperovich/coreclr,ruben-ayrapetyan/coreclr,wtgodbe/coreclr,cshung/coreclr,cshung/coreclr,mmitche/coreclr,mskvortsov/coreclr,yizhang82/coreclr,neurospeech/coreclr,qiudesong/coreclr,cydhaselton/coreclr,botaberg/coreclr,russellhadley/coreclr,sagood/coreclr,qiudesong/coreclr,rartemev/coreclr,rartemev/coreclr,ramarag/coreclr,botaberg/coreclr,poizan42/coreclr,poizan42/coreclr,cmckinsey/coreclr,AlexGhiondea/coreclr,mskvortsov/coreclr,kyulee1/coreclr,tijoytom/coreclr,tijoytom/coreclr,krytarowski/coreclr,pgavlin/coreclr,yeaicc/coreclr,tijoytom/coreclr,jamesqo/coreclr,JosephTremoulet/coreclr,Dmitry-Me/coreclr,mskvortsov/coreclr,ramarag/coreclr,dasMulli/coreclr,sagood/coreclr,neurospeech/coreclr,hseok-oh/coreclr,rartemev/coreclr,wtgodbe/coreclr,tijoytom/coreclr,Dmitry-Me/coreclr,dpodder/coreclr,YongseopKim/coreclr,parjong/coreclr,JosephTremoulet/coreclr