This code attempted to say that v8i16/v16i16 VSELECT is legal if BWI and VLX are enabled, but the only way we could reach this point is if the condition was not a vXi1 type. Which means it really wasn't legal.
We don't have any tests that exercise this code. So I'm hoping it wasn't really reachable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316851
91177308-0d34-0410-b5e6-
96231b3b80d8
case MVT::v8i16:
case MVT::v16i16:
- // AVX-512 BWI and VLX features support VSELECT with i16 elements.
- if (Subtarget.hasBWI() && Subtarget.hasVLX())
- return Op;
-
// FIXME: We should custom lower this by fixing the condition and using i8
// blends.
return SDValue();