[llvm-commits] [llvm] r171459 - /llvm/trunk/include/llvm/TargetTransformInfo.h
Hal Finkel
hfinkel at anl.gov
Wed Jan 2 21:02:43 PST 2013
Author: hfinkel
Date: Wed Jan 2 23:02:41 2013
New Revision: 171459
URL: http://llvm.org/viewvc/llvm-project?rev=171459&view=rev
Log:
Better comment on VTTI::getShuffleCost
Modified:
llvm/trunk/include/llvm/TargetTransformInfo.h
Modified: llvm/trunk/include/llvm/TargetTransformInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/TargetTransformInfo.h?rev=171459&r1=171458&r2=171459&view=diff
==============================================================================
--- llvm/trunk/include/llvm/TargetTransformInfo.h (original)
+++ llvm/trunk/include/llvm/TargetTransformInfo.h Wed Jan 2 23:02:41 2013
@@ -170,8 +170,8 @@
}
/// 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;
More information about the llvm-commits
mailing list