[llvm] [VPlan] Add VPInstruction to unpack vector values to scalars. (PR #155670)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 20 14:48:49 PDT 2025


================
@@ -1224,6 +1224,15 @@ static void simplifyRecipe(VPRecipeBase &R, VPTypeAnalysis &TypeInfo) {
     return;
   }
 
+  VPValue *Idx;
+  if (match(&R, m_VPInstruction<Instruction::ExtractElement>(m_BuildVector(),
----------------
artagnon wrote:

Might be good to add an m_ExtractElement?

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


More information about the llvm-commits mailing list