[X86] Fix bad comment. NFC

llvm-svn: 310785
This commit is contained in:
Craig Topper 2017-08-12 22:33:57 +00:00
parent 44cb1ffb6a
commit dbca6d47f3
1 changed files with 1 additions and 1 deletions

View File

@ -35514,7 +35514,7 @@ static SDValue combineInsertSubvector(SDNode *N, SelectionDAG &DAG,
MVT SubVecVT = SubVec.getSimpleValueType();
// If this is an insert of an extract, combine to a shuffle. Don't do this
// if the insert or extract can be represented with a subvector operation.
// if the insert or extract can be represented with a subregister operation.
if (SubVec.getOpcode() == ISD::EXTRACT_SUBVECTOR &&
SubVec.getOperand(0).getSimpleValueType() == OpVT &&
(IdxVal != 0 || !Vec.isUndef())) {