@@ -1383,19 +1383,17 @@ class TargetTransformInfo {
13831383
13841384 // / \return The cost of a shuffle instruction of kind Kind with inputs of type
13851385 // / SrcTy, producing a vector of type DstTy. The exact mask may be passed as
1386- // / Mask, or else the array will be empty. The index and subtype parameters
1387- // / are used by the subvector insertion and extraction shuffle kinds to show
1388- // / the insert/extract point and the type of the subvector being
1389- // / inserted/extracted. The operands of the shuffle can be passed through \p
1390- // / Args, which helps improve the cost estimation in some cases, like in
1391- // / broadcast loads.
1392- LLVM_ABI InstructionCost
1393- getShuffleCost (ShuffleKind Kind, VectorType *DstTy, VectorType *SrcTy,
1394- ArrayRef<int > Mask = {},
1395- TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput,
1396- int Index = 0 , VectorType *SubTp = nullptr ,
1397- ArrayRef<const Value *> Args = {},
1398- const Instruction *CxtI = nullptr ) const ;
1386+ // / Mask, or else the array will be empty. The Index and SubTp parameters
1387+ // / are used by the subvector insertions shuffle kinds to show the insert
1388+ // / point and the type of the subvector being inserted. The operands of the
1389+ // / shuffle can be passed through \p Args, which helps improve the cost
1390+ // / estimation in some cases, like in broadcast loads.
1391+ LLVM_ABI InstructionCost getShuffleCost (
1392+ ShuffleKind Kind, VectorType *DstTy, VectorType *SrcTy,
1393+ ArrayRef<int > Mask = {},
1394+ TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput, int Index = 0 ,
1395+ VectorType *SubTp = nullptr , ArrayRef<const Value *> Args = {},
1396+ const Instruction *CxtI = nullptr ) const ;
13991397
14001398 // / Represents a hint about the context in which a cast is used.
14011399 // /
0 commit comments