[llvm] [IA] Support deinterleave intrinsics w/ fewer than N extracts (PR #147572)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 9 09:24:28 PDT 2025


================
@@ -698,7 +701,7 @@ bool InterleavedAccessImpl::lowerDeinterleaveIntrinsic(
 
     // Since lowerInterleaveLoad expects Shuffles and LoadInst, use special
     // TLI function to emit target-specific interleaved instruction.
-    if (!TLI->lowerInterleavedVPLoad(VPLoad, Mask, DeinterleaveValues))
+    if (!TLI->lowerInterleavedVPLoad(VPLoad, Mask, DeinterleaveValues, Factor))
----------------
lukel97 wrote:

Should we just plumb through `LastFactor->getType()` to save TLIs from having to do find_if on the DeinterleaveValues each time?

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


More information about the llvm-commits mailing list