git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171459
91177308-0d34-0410-b5e6-
96231b3b80d8
}
/// Returns the cost of a shuffle instruction of kind Kind and of type Tp.
- /// The index and subtype parameters are used by some of the shuffle kinds
- /// to add additional information.
+ /// The index and subtype parameters are used by the subvector insertion and
+ /// extraction shuffle kinds.
virtual unsigned getShuffleCost(ShuffleKind Kind, Type *Tp,
int Index = 0, Type *SubTp = 0) const {
return 1;