[llvm] [IA] Relax the requirement of having ExtractValue users on deinterleave intrinsic (PR #148716)

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 16 12:13:57 PDT 2025


================
@@ -17498,9 +17497,7 @@ bool AArch64TargetLowering::lowerDeinterleaveIntrinsicToLoad(
     return false;
   assert(!Mask && "Unexpected mask on a load\n");
 
-  Value *FirstActive = *llvm::find_if(DeinterleavedValues,
-                                      [](Value *V) { return V != nullptr; });
-  VectorType *VTy = cast<VectorType>(FirstActive->getType());
+  VectorType *VTy = cast<VectorType>(getDeinterleavedVectorType(DI));
----------------
preames wrote:

e.g. another

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


More information about the llvm-commits mailing list