[llvm] [VPlan] Expand VPWidenPointerInductionRecipe into separate recipes (PR #148274)

Shih-Po Hung via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 3 16:38:35 PDT 2025


================
@@ -2136,18 +2138,14 @@ class VPWidenPointerInductionRecipe : public VPWidenInductionRecipe,
   VP_CLASSOF_IMPL(VPDef::VPWidenPointerInductionSC)
 
   /// Generate vector values for the pointer induction.
-  void execute(VPTransformState &State) override;
+  void execute(VPTransformState &State) override {
+    llvm_unreachable("cannot execute this recipe, should be expanded via "
+                     "expandVPWidenIntOrFpInductionRecipe");
----------------
arcbbb wrote:

```suggestion
                     "expandVPWidenPointerInduction");
```

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


More information about the llvm-commits mailing list