diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2023-11-16 16:00:41 -0800 |
---|---|---|
committer | Alexey Bataev <a.bataev@outlook.com> | 2023-11-16 16:11:43 -0800 |
commit | 484a27e412297b56027bb9fbb2f90462c668d20e (patch) | |
tree | 7406491f87f3a43206ac54b20bffe71b451fe187 | |
parent | 49795d27761b9f398302354acd30980a319b1502 (diff) | |
download | llvm-484a27e412297b56027bb9fbb2f90462c668d20e.zip llvm-484a27e412297b56027bb9fbb2f90462c668d20e.tar.gz llvm-484a27e412297b56027bb9fbb2f90462c668d20e.tar.bz2 |
[SLP][NFC]Make needToDelay constant, NFC.
-rw-r--r-- | llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp index 5b9c206..3af683d 100644 --- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp +++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp @@ -10261,7 +10261,7 @@ public: /// Checks if the specified entry \p E needs to be delayed because of its /// dependency nodes. Value *needToDelay(const TreeEntry *E, - ArrayRef<SmallVector<const TreeEntry *>> Deps) { + ArrayRef<SmallVector<const TreeEntry *>> Deps) const { // No need to delay emission if all deps are ready. if (all_of(Deps, [](ArrayRef<const TreeEntry *> TEs) { return all_of( |