[X86] Split 128 and 256-bit PTEST combines
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 13 Apr 2023 18:31:17 +0000 (19:31 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 13 Apr 2023 18:36:53 +0000 (19:36 +0100)
commit33cc733bc46b49e3198843257152c95b07e17471
tree93496fdd9cc6ae53d541aacbcccc8ca6c4d898ce
parenta4eff2b56cb895867a86e8bb3a58bade90de91bd
[X86] Split 128 and 256-bit PTEST combines

We are missing SSE41 test coverage (and in fact have a bug with a PTEST->TESTP fold that is only valid on AVX).
llvm/test/CodeGen/X86/combine-ptest-256.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/combine-ptest.ll