Better comment on VTTI::getShuffleCost
authorHal Finkel <hfinkel@anl.gov>
Thu, 3 Jan 2013 05:02:41 +0000 (05:02 +0000)
committerHal Finkel <hfinkel@anl.gov>
Thu, 3 Jan 2013 05:02:41 +0000 (05:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171459 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/TargetTransformInfo.h

index 1dc2b07ddfdfd17dfaadc135447b262d11bbf464..97744c0f78db6de2a46e24bbf15d788aa48d1873 100644 (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;