mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-16 06:46:33 +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;
|
||||
|
||||
/// \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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user