[X86] Add i32 (shl (sr[la] exact sel(X,Y), C1), C2) test
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 18 Jul 2021 15:48:40 +0000 (16:48 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 18 Jul 2021 15:48:57 +0000 (16:48 +0100)
commit3a1b38049a5c634aad27a7a31c7e84c51a31ec07
tree13e691917ff3c441c382217ef98207a90922ebcc
parent958437de5226e483f0a58de3e0a1394097a57f0e
[X86] Add i32 (shl (sr[la] exact sel(X,Y),  C1), C2) test

Shows failure to fold sel(sra(X,C1),sra(Y,C1)) -> sra(sel(X,Y),C1) (and to retain the flags)
llvm/test/CodeGen/X86/combine-shl.ll