Revert "[SLP][NFC]Use TargetTransformInfo:: instead of TTI:: in BoUpSLP to avoid"

This reverts commit 083d8aa03aca55b88098a91e41e41a8e321a5721.
This commit is contained in:
Alexey Bataev 2024-03-05 12:07:46 -08:00
parent 2f343fc157
commit c8b3edcddd

View File

@ -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<Value *> Ops) {
TTI::OperandValueInfo BoUpSLP::getOperandInfo(ArrayRef<Value *> Ops) {
assert(!Ops.empty());
const auto *Op0 = Ops.front();