mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-18 15:57:15 +00:00
Revert "[SLP][NFC]Use TargetTransformInfo:: instead of TTI:: in BoUpSLP to avoid"
This reverts commit 083d8aa03aca55b88098a91e41e41a8e321a5721.
This commit is contained in:
parent
2f343fc157
commit
c8b3edcddd
@ -2379,8 +2379,7 @@ private:
|
|||||||
const TreeEntry *getOperandEntry(const TreeEntry *E, unsigned Idx) const;
|
const TreeEntry *getOperandEntry(const TreeEntry *E, unsigned Idx) const;
|
||||||
|
|
||||||
/// \returns Cast context for the given graph node.
|
/// \returns Cast context for the given graph node.
|
||||||
TargetTransformInfo::CastContextHint
|
TTI::CastContextHint getCastContextHint(const TreeEntry &TE) const;
|
||||||
getCastContextHint(const TreeEntry &TE) const;
|
|
||||||
|
|
||||||
/// \returns the cost of the vectorizable entry.
|
/// \returns the cost of the vectorizable entry.
|
||||||
InstructionCost getEntryCost(const TreeEntry *E,
|
InstructionCost getEntryCost(const TreeEntry *E,
|
||||||
@ -7038,8 +7037,7 @@ static bool isAlternateInstruction(const Instruction *I,
|
|||||||
return I->getOpcode() == AltOp->getOpcode();
|
return I->getOpcode() == AltOp->getOpcode();
|
||||||
}
|
}
|
||||||
|
|
||||||
TargetTransformInfo::OperandValueInfo
|
TTI::OperandValueInfo BoUpSLP::getOperandInfo(ArrayRef<Value *> Ops) {
|
||||||
BoUpSLP::getOperandInfo(ArrayRef<Value *> Ops) {
|
|
||||||
assert(!Ops.empty());
|
assert(!Ops.empty());
|
||||||
const auto *Op0 = Ops.front();
|
const auto *Op0 = Ops.front();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user