diff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp index 69bbaae0e724..8cf59a18381a 100644 --- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp +++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp @@ -2379,8 +2379,7 @@ private: const TreeEntry *getOperandEntry(const TreeEntry *E, unsigned Idx) const; /// \returns Cast context for the given graph node. - TargetTransformInfo::CastContextHint - getCastContextHint(const TreeEntry &TE) const; + TTI::CastContextHint getCastContextHint(const TreeEntry &TE) const; /// \returns the cost of the vectorizable entry. InstructionCost getEntryCost(const TreeEntry *E, @@ -7038,8 +7037,7 @@ static bool isAlternateInstruction(const Instruction *I, return I->getOpcode() == AltOp->getOpcode(); } -TargetTransformInfo::OperandValueInfo -BoUpSLP::getOperandInfo(ArrayRef Ops) { +TTI::OperandValueInfo BoUpSLP::getOperandInfo(ArrayRef Ops) { assert(!Ops.empty()); const auto *Op0 = Ops.front();