Skip to content

Commit

Permalink
Revert "[SLP][NFC]Use TargetTransformInfo:: instead of TTI:: in BoUpS…
Browse files Browse the repository at this point in the history
…LP to avoid"

This reverts commit 083d8aa.
  • Loading branch information
alexey-bataev committed Mar 5, 2024
1 parent 2f343fc commit c8b3edc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2379,8 +2379,7 @@ class BoUpSLP {
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,
Expand Down Expand Up @@ -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();

Expand Down

0 comments on commit c8b3edc

Please sign in to comment.