[llvm] [SLP] Enable reordering for non-power-of-two vectors (PR #106638)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 4 12:52:00 PDT 2024


================
@@ -3388,6 +3388,8 @@ class BoUpSLP {
     TreeEntry *Last = VectorizableTree.back().get();
     Last->Idx = VectorizableTree.size() - 1;
     Last->State = EntryState;
+    assert((has_single_bit(VL.size()) || ReuseShuffleIndices.empty()) &&
----------------
alexey-bataev wrote:

Add a FIXME to remove this later

https://github.com/llvm/llvm-project/pull/106638


More information about the llvm-commits mailing list