[llvm] [VPlan] Sink retrieving legacy costs to more specific computeCost impls. (PR #109708)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 9 05:50:03 PDT 2024


================
@@ -915,6 +915,9 @@ class VPSingleDefRecipe : public VPRecipeBase, public VPValue {
     llvm_unreachable("Unhandled VPDefID");
   }
 
+  InstructionCost computeCost(ElementCount VF,
+                              VPCostContext &Ctx) const override;
+
----------------
fhahn wrote:

Moved to the end. thanks!

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


More information about the llvm-commits mailing list