[llvm] [SLP]Initial support for interleaved loads (PR #112042)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 6 04:45:15 PST 2024


================
@@ -11397,6 +11501,11 @@ bool BoUpSLP::isTreeTinyAndNotFullyVectorizable(bool ForReduction) const {
       }))
     return false;
 
+  if (VectorizableTree.back()->isGather() &&
+      VectorizableTree.back()->isAltShuffle() &&
+      VectorizableTree.back()->getVectorFactor() > 2)
+    return false;
+
   assert(VectorizableTree.empty()
              ? ExternalUses.empty()
              : true && "We shouldn't have any external users");
----------------
alexey-bataev wrote:

Will add the extra check

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


More information about the llvm-commits mailing list