[llvm] [VPlan] Impl VPlan-based pattern match for ExtendedRed and MulAccRed (PR #113903)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 11 02:11:04 PDT 2025


================
@@ -2085,6 +2087,86 @@ void VPlanTransforms::createInterleaveGroups(
   }
 }
 
+// Expand VPExtendedReductionRecipe to VPWidenCastRecipe + VPReductionRecipe.
+static void expandVPExtendedReduction(VPExtendedReductionRecipe *ExtRed) {
+  // Genearte VPWidenCastRecipe.
----------------
fhahn wrote:

```suggestion
  // Generate VPWidenCastRecipe.
```


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


More information about the llvm-commits mailing list