[llvm] [IA] Add support for [de]interleave{3,5,7} (PR #139373)

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Mon May 12 15:02:11 PDT 2025


================
@@ -638,9 +660,10 @@ getVectorInterleaveFactor(IntrinsicInst *II, SmallVectorImpl<Value *> &Operands,
   }
 
   const unsigned Factor = Operands.size();
-  // Currently we only recognize power-of-two factors.
+  // Currently we only recognize factors of 2, 3, 5 and 7.
----------------
mshockwave wrote:

nit: not just 2 but also power-of-two factors

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


More information about the llvm-commits mailing list