[llvm] [VPlan] Fold VPDef into VPRecipeBase (NFC). (PR #174282)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 11 08:58:41 PST 2026


================
@@ -120,14 +118,14 @@ VPRecipeBase *VPValue::getDefiningRecipe() {
   auto *DefValue = dyn_cast<VPRecipeValue>(this);
   if (!DefValue)
     return nullptr;
-  return cast<VPRecipeBase>(DefValue->Def);
+  return DefValue->Def;
----------------
fhahn wrote:

done thanks

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


More information about the llvm-commits mailing list