If the input the vzext was signed this would do the wrong thing.
Not sure how to test this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319382
91177308-0d34-0410-b5e6-
96231b3b80d8
if (VT.is512BitVector() && InVTElt != MVT::i1 &&
(NumElts == 8 || NumElts == 16 || Subtarget.hasBWI())) {
- if (In.getOpcode() == X86ISD::VSEXT || In.getOpcode() == X86ISD::VZEXT)
+ if (In.getOpcode() == X86ISD::VSEXT)
return getExtendInVec(In.getOpcode(), dl, VT, In.getOperand(0), DAG);
return getExtendInVec(X86ISD::VSEXT, dl, VT, In, DAG);
}