summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-01-03 05:02:41 +0000
committerHal Finkel <hfinkel@anl.gov>2013-01-03 05:02:41 +0000
commitbe76df6ce69ea1a4b6306af6fc06ccada708256d (patch)
tree439724239292ee357ec67e268dd8d9e6050c763d /include
parent1eae141f195b7edd060c2c872ea3eac4ce937262 (diff)
downloadllvm-be76df6ce69ea1a4b6306af6fc06ccada708256d.tar.gz
llvm-be76df6ce69ea1a4b6306af6fc06ccada708256d.tar.bz2
llvm-be76df6ce69ea1a4b6306af6fc06ccada708256d.tar.xz
Better comment on VTTI::getShuffleCost
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171459 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/TargetTransformInfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/TargetTransformInfo.h b/include/llvm/TargetTransformInfo.h
index 1dc2b07ddf..97744c0f78 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;