Replace for-loop of SmallVector::push_back with SmallVector::append. NFCI.

llvm-svn: 374669
This commit is contained in:
Simon Pilgrim 2019-10-12 16:37:02 +00:00
parent 846f09a144
commit 4ce8f35c4d

View File

@ -6936,10 +6936,8 @@ static bool getFauxShuffleMask(SDValue N, const APInt &DemandedElts,
else
return false;
}
for (SDValue &Op : SrcInputs0)
Ops.push_back(Op);
for (SDValue &Op : SrcInputs1)
Ops.push_back(Op);
Ops.append(SrcInputs0.begin(), SrcInputs0.end());
Ops.append(SrcInputs1.begin(), SrcInputs1.end());
return true;
}
case ISD::INSERT_SUBVECTOR: {