[llvm] [VPlan] Unroll VPReplicateRecipe by VF. (PR #142433)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 9 08:37:34 PDT 2025


================
@@ -107,6 +107,8 @@ Type *VPTypeAnalysis::inferScalarTypeForRecipe(const VPInstruction *R) {
   case VPInstruction::CalculateTripCountMinusVF:
   case VPInstruction::CanonicalIVIncrementForPart:
   case VPInstruction::AnyOf:
+  case VPInstruction::BuildVector:
+  case VPInstruction::BuildStructVector:
----------------
ayalz wrote:

```suggestion
  case VPInstruction::BuildStructVector:
  case VPInstruction::BuildVector:
```


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


More information about the llvm-commits mailing list