git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310785
91177308-0d34-0410-b5e6-
96231b3b80d8
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())) {