[llvm] [VPlan] Unroll VPReplicateRecipe by VF. (PR #142433)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 22 04:26:45 PDT 2025
================
@@ -608,6 +608,32 @@ Value *VPInstruction::generate(VPTransformState &State) {
return Builder.CreateVectorSplat(
State.VF, State.get(getOperand(0), /*IsScalar*/ true), "broadcast");
}
+ case VPInstruction::BuildStructVector: {
+ // For struct types, we need to build a new 'wide' struct type, where each
+ // element is widened, i.e. we crate a struct of vectors .
----------------
ayalz wrote:
```suggestion
// element is widened, i.e., we create a struct of vectors.
```
https://github.com/llvm/llvm-project/pull/142433
More information about the llvm-commits
mailing list