[llvm] [VPlan] First step towards VPlan cost modeling (LegacyCM in CostCtx) (PR #92555)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 3 12:52:43 PDT 2024
================
@@ -800,6 +841,11 @@ class VPRecipeBase : public ilist_node_with_parent<VPRecipeBase, VPBasicBlock>,
/// Returns the debug location of the recipe.
DebugLoc getDebugLoc() const { return DL; }
+
+protected:
+ /// Return the cost of this recipe using the legacy cost model and the
----------------
ayalz wrote:
```suggestion
/// Compute the cost of this recipe using the legacy cost model and the
```
This one actually does compute.
https://github.com/llvm/llvm-project/pull/92555
More information about the llvm-commits
mailing list