[llvm] 6023d17 - [SLP][NFC]Add a function description, NFC.
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 30 10:35:38 PDT 2024
Author: Alexey Bataev
Date: 2024-08-30T10:35:10-07:00
New Revision: 6023d17e6b6624913b85fe9d2b5d79ae681e5764
URL: https://github.com/llvm/llvm-project/commit/6023d17e6b6624913b85fe9d2b5d79ae681e5764
DIFF: https://github.com/llvm/llvm-project/commit/6023d17e6b6624913b85fe9d2b5d79ae681e5764.diff
LOG: [SLP][NFC]Add a function description, NFC.
Added:
Modified:
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
index e9785ef9ded2d5..f6a797b071b65c 100644
--- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
@@ -2864,6 +2864,8 @@ class BoUpSLP {
/// avoid issues with def-use order.
Value *vectorizeTree(TreeEntry *E, bool PostponedPHIs);
+ /// Returns vectorized operand node, that matches the order of the scalars
+ /// operand number \p NodeIdx in entry \p E.
TreeEntry *getMatchedVectorizedOperand(const TreeEntry *E, unsigned NodeIdx);
const TreeEntry *getMatchedVectorizedOperand(const TreeEntry *E,
unsigned NodeIdx) const {
More information about the llvm-commits
mailing list