From be76df6ce69ea1a4b6306af6fc06ccada708256d Mon Sep 17 00:00:00 2001 From: Hal Finkel Date: Thu, 3 Jan 2013 05:02:41 +0000 Subject: [PATCH] Better comment on VTTI::getShuffleCost git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171459 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/TargetTransformInfo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.34.1