[llvm] [SLP] Initial vectorization of non-power-of-2 ops. (PR #77790)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 8 03:21:44 PST 2024
================
@@ -2891,9 +2898,13 @@ class BoUpSLP {
ValueToGatherNodes.try_emplace(V).first->getSecond().insert(Last);
}
- if (UserTreeIdx.UserTE)
+ if (UserTreeIdx.UserTE) {
Last->UserTreeIndices.push_back(UserTreeIdx);
-
+ if (!isPowerOf2_32(Last->Scalars.size())) {
+ assert((Last->ReorderIndices.empty()) &&
----------------
alexey-bataev wrote:
Still Not done?
https://github.com/llvm/llvm-project/pull/77790
More information about the llvm-commits
mailing list