[llvm] [SLP] Support ordered FAdd reductions in SLPVectorizer (PR #146570)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 20 10:13:47 PDT 2025
================
@@ -1850,6 +1855,11 @@ class BoUpSLP {
return VectorizableTree.front()->Scalars;
}
+ bool areAllEntriesIdentityOrdered() const {
+ return all_of(VectorizableTree,
+ [&](auto &Entry) { return Entry->ReorderIndices.empty(); });
+ }
+
----------------
sc-clulzze wrote:
Thanks for the catch, now it is used
https://github.com/llvm/llvm-project/pull/146570
More information about the llvm-commits
mailing list