[X86] combineAndnp - if an input has a zero (after inversion for Op0) in a vector...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 12 Feb 2022 16:49:00 +0000 (16:49 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 12 Feb 2022 16:49:05 +0000 (16:49 +0000)
commita4ed0c2f03e113aff988e21cf3cd75cabe0aaa0d
tree4bf80a20b2515e1328e7ff3c985727d9bfa4bfa9
parentbee4531bee0c1d9ce64ee80ce26ddd92c23b9ade
[X86] combineAndnp - if an input has a zero (after inversion for Op0) in a vector element, then we don't demand that bit/element in the other input

Similar to what we already perform in combineAnd
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/avx512-insert-extract.ll
llvm/test/CodeGen/X86/combine-udiv.ll
llvm/test/CodeGen/X86/oddshuffles.ll
llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-3.ll
llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-6.ll
llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-6.ll
llvm/test/CodeGen/X86/vector-interleaved-store-i16-stride-5.ll
llvm/test/CodeGen/X86/vector-interleaved-store-i8-stride-3.ll