@@ -911,9 +911,11 @@ class TargetTransformInfo {
911911 // / are set if the demanded result elements need to be inserted and/or
912912 // / extracted from vectors. The involved values may be passed in VL if
913913 // / Insert is true.
914- InstructionCost getScalarizationOverhead (
915- VectorType *Ty, const APInt &DemandedElts, bool Insert, bool Extract,
916- TTI::TargetCostKind CostKind, ArrayRef<Value *> VL = {}) const ;
914+ InstructionCost getScalarizationOverhead (VectorType *Ty,
915+ const APInt &DemandedElts,
916+ bool Insert, bool Extract,
917+ TTI::TargetCostKind CostKind,
918+ ArrayRef<Value *> VL = {}) const ;
917919
918920 // / Estimate the overhead of scalarizing an instructions unique
919921 // / non-constant operands. The (potentially vector) types to use for each of
@@ -2582,10 +2584,11 @@ class TargetTransformInfo::Model final : public TargetTransformInfo::Concept {
25822584 return Impl.isVectorIntrinsicWithOverloadTypeAtArg (ID, ScalarOpdIdx);
25832585 }
25842586
2585- InstructionCost
2586- getScalarizationOverhead (VectorType *Ty, const APInt &DemandedElts,
2587- bool Insert, bool Extract, TargetCostKind CostKind,
2588- ArrayRef<Value *> VL = {}) override {
2587+ InstructionCost getScalarizationOverhead (VectorType *Ty,
2588+ const APInt &DemandedElts,
2589+ bool Insert, bool Extract,
2590+ TargetCostKind CostKind,
2591+ ArrayRef<Value *> VL = {}) override {
25892592 return Impl.getScalarizationOverhead (Ty, DemandedElts, Insert, Extract,
25902593 CostKind, VL);
25912594 }
0 commit comments