[llvm] [InterleavedAccess] Construct interleaved access store with shuffles (PR #164000)

via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 5 13:29:26 PST 2025


================
@@ -250,6 +251,13 @@ static bool isReInterleaveMask(ShuffleVectorInst *SVI, unsigned &Factor,
       return true;
   }
 
+  if (InterleaveWithShuffles) {
+    for (unsigned i = 1; MaxFactor * i <= 16; i *= 2) {
----------------
ram-NK wrote:

The next interleaving factor is 32. For efficient interleaving, more than 32 registers are required. Without spilling it is not possible for AArch64. So stopped at 16.

For LLVM style correction, will create a follow up PR. 

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


More information about the llvm-commits mailing list