Skip to content

Commit c8b3edc

Browse files
committed
Revert "[SLP][NFC]Use TargetTransformInfo:: instead of TTI:: in BoUpSLP to avoid"
This reverts commit 083d8aa.
1 parent 2f343fc commit c8b3edc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2379,8 +2379,7 @@ class BoUpSLP {
23792379
const TreeEntry *getOperandEntry(const TreeEntry *E, unsigned Idx) const;
23802380

23812381
/// \returns Cast context for the given graph node.
2382-
TargetTransformInfo::CastContextHint
2383-
getCastContextHint(const TreeEntry &TE) const;
2382+
TTI::CastContextHint getCastContextHint(const TreeEntry &TE) const;
23842383

23852384
/// \returns the cost of the vectorizable entry.
23862385
InstructionCost getEntryCost(const TreeEntry *E,
@@ -7038,8 +7037,7 @@ static bool isAlternateInstruction(const Instruction *I,
70387037
return I->getOpcode() == AltOp->getOpcode();
70397038
}
70407039

7041-
TargetTransformInfo::OperandValueInfo
7042-
BoUpSLP::getOperandInfo(ArrayRef<Value *> Ops) {
7040+
TTI::OperandValueInfo BoUpSLP::getOperandInfo(ArrayRef<Value *> Ops) {
70437041
assert(!Ops.empty());
70447042
const auto *Op0 = Ops.front();
70457043

0 commit comments

Comments
 (0)