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

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 27 07:55:21 PST 2025


================
@@ -250,6 +251,13 @@ static bool isReInterleaveMask(ShuffleVectorInst *SVI, unsigned &Factor,
       return true;
   }
 
+  if (InterleaveWithShuffles) {
----------------
lukel97 wrote:

Is it possible to avoid the `hasInterleaveWithGatherScatter` TTI hook? Can you just increase AArch64's getMaxSupportedInterleaveFactor and check if it's legal in `AArch64TargetLowering::lowerInterleavedStore`?

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


More information about the llvm-commits mailing list