Skip to content

Commit 083d8aa

Browse files
committed
[SLP][NFC]Use TargetTransformInfo:: instead of TTI:: in BoUpSLP to avoid
some compilers confusion.
1 parent ee044d5 commit 083d8aa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

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

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

23842385
/// \returns the cost of the vectorizable entry.
23852386
InstructionCost getEntryCost(const TreeEntry *E,
@@ -7037,7 +7038,8 @@ static bool isAlternateInstruction(const Instruction *I,
70377038
return I->getOpcode() == AltOp->getOpcode();
70387039
}
70397040

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

0 commit comments

Comments
 (0)