[llvm] [VPlan] Verify dominance for incoming values of phi-like recipes. (PR #124838)
via llvm-commits
llvm-commits at lists.llvm.org
Wed May 14 07:33:04 PDT 2025
================
@@ -3283,6 +3295,48 @@ class VPScalarIVStepsRecipe : public VPRecipeWithIRFlags,
}
};
+/// Casting from VPRecipeBase -> VPPhiAccessors is supported for all recipe
+/// types implementing VPPhiAccessors.
----------------
ayalz wrote:
Is this scaffolding needed for `dyn_cast<VPPhiAccessors>(RecipeBase*)` to work, due to its multiple inheritance?
https://github.com/llvm/llvm-project/pull/124838
More information about the llvm-commits
mailing list