From: Hal Finkel Date: Thu, 3 Jan 2013 05:02:41 +0000 (+0000) Subject: Better comment on VTTI::getShuffleCost X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=be76df6ce69ea1a4b6306af6fc06ccada708256d;p=oota-llvm.git Better comment on VTTI::getShuffleCost git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171459 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/TargetTransformInfo.h b/include/llvm/TargetTransformInfo.h index 1dc2b07ddfd..97744c0f78d 100644 --- a/include/llvm/TargetTransformInfo.h +++ b/include/llvm/TargetTransformInfo.h @@ -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;