diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2024-03-05 12:07:46 -0800 |
---|---|---|
committer | Alexey Bataev <a.bataev@outlook.com> | 2024-03-05 12:13:44 -0800 |
commit | c8b3edcddd221a5007565507fb16a07a027d32bc (patch) | |
tree | fd254ca05bd716182a459460ae97310e876f5afc | |
parent | 2f343fc1574f36b3b5ff1acf63407c53dcdac331 (diff) | |
download | llvm-c8b3edcddd221a5007565507fb16a07a027d32bc.zip llvm-c8b3edcddd221a5007565507fb16a07a027d32bc.tar.gz llvm-c8b3edcddd221a5007565507fb16a07a027d32bc.tar.bz2 |
Revert "[SLP][NFC]Use TargetTransformInfo:: instead of TTI:: in BoUpSLP to avoid"
This reverts commit 083d8aa03aca55b88098a91e41e41a8e321a5721.
-rw-r--r-- | llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp index 69bbaae..8cf59a1 100644 --- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp +++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp @@ -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(); |