Better comment on VTTI::getShuffleCost

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171459 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Hal Finkel 2013-01-03 05:02:41 +00:00
parent 1eae141f19
commit be76df6ce6

View File

@ -170,8 +170,8 @@ public:
}
/// 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;