@@ -1759,10 +1759,6 @@ class TargetTransformInfo {
17591759 // / scalable version of the vectorized loop.
17601760 bool preferFixedOverScalableIfEqualCost () const ;
17611761
1762- // / \returns True if target prefers SLP vectorizer with altermate opcode
1763- // / vectorization, false - otherwise.
1764- bool preferAlternateOpcodeVectorization () const ;
1765-
17661762 // / \returns True if the target prefers reductions in loop.
17671763 bool preferInLoopReduction (unsigned Opcode, Type *Ty,
17681764 ReductionFlags Flags) const ;
@@ -2310,7 +2306,6 @@ class TargetTransformInfo::Concept {
23102306 unsigned ChainSizeInBytes,
23112307 VectorType *VecTy) const = 0;
23122308 virtual bool preferFixedOverScalableIfEqualCost () const = 0;
2313- virtual bool preferAlternateOpcodeVectorization () const = 0;
23142309 virtual bool preferInLoopReduction (unsigned Opcode, Type *Ty,
23152310 ReductionFlags) const = 0;
23162311 virtual bool preferPredicatedReductionSelect (unsigned Opcode, Type *Ty,
@@ -3111,9 +3106,6 @@ class TargetTransformInfo::Model final : public TargetTransformInfo::Concept {
31113106 bool preferFixedOverScalableIfEqualCost () const override {
31123107 return Impl.preferFixedOverScalableIfEqualCost ();
31133108 }
3114- bool preferAlternateOpcodeVectorization () const override {
3115- return Impl.preferAlternateOpcodeVectorization ();
3116- }
31173109 bool preferInLoopReduction (unsigned Opcode, Type *Ty,
31183110 ReductionFlags Flags) const override {
31193111 return Impl.preferInLoopReduction (Opcode, Ty, Flags);
0 commit comments