[llvm] [VPlan] Materialize Build(Struct)Vectors for VPReplicateRecipes. (NFCI) (PR #151487)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 9 13:21:51 PDT 2025


================
@@ -478,6 +479,11 @@ static VPReplicateRecipe *cloneForLane(VPlan &Plan, VPBuilder &Builder,
           Builder.createNaryOp(VPInstruction::ExtractLastElement, {Op}));
       continue;
     }
+    if (Value2Lanes.contains(Op)) {
----------------
fhahn wrote:

Yep exactly, added thanks

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


More information about the llvm-commits mailing list