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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 11 12:33:37 PDT 2025


================
@@ -326,8 +326,9 @@ struct VPlanTransforms {
                                             VPBasicBlock *VectorPH);
 
   /// Add explicit Build[Struct]Vector recipes that combine multiple scalar
-  /// values into single vectors.
-  static void materializeBuildVectors(VPlan &Plan);
+  /// values into single vectors and Unpack recipes to extract scalars from a
+  /// vector as needed.
----------------
fhahn wrote:

Updated, thanks!

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


More information about the llvm-commits mailing list