forked from OSchip/llvm-project
[X86] Update comment I forgot to change in r346043. NFC
llvm-svn: 346073
This commit is contained in:
parent
d1ad7b31ee
commit
7aed9e600b
|
@ -38312,8 +38312,8 @@ static SDValue combineToExtendVectorInReg(SDNode *N, SelectionDAG &DAG,
|
|||
if (InSVT != MVT::i32 && InSVT != MVT::i16 && InSVT != MVT::i8)
|
||||
return SDValue();
|
||||
|
||||
// On AVX2+ targets, if the input/output types are both legal then we will be
|
||||
// able to use SIGN_EXTEND/ZERO_EXTEND directly.
|
||||
// If the input/output types are both legal then we have at least AVX1 and
|
||||
// we will be able to use SIGN_EXTEND/ZERO_EXTEND directly.
|
||||
if (DAG.getTargetLoweringInfo().isTypeLegal(VT) &&
|
||||
DAG.getTargetLoweringInfo().isTypeLegal(InVT))
|
||||
return SDValue();
|
||||
|
|
Loading…
Reference in New Issue