[llvm] [VPlan] First step towards VPlan cost modeling (LegacyCM in CostCtx) (PR #92555)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 2 07:47:38 PDT 2024
================
@@ -618,6 +630,9 @@ class VPBlockBase {
/// VPBlockBase, thereby "executing" the VPlan.
virtual void execute(VPTransformState *State) = 0;
+ /// Compute the cost of the block.
----------------
ayalz wrote:
```suggestion
/// Return the cost of the block.
```
https://github.com/llvm/llvm-project/pull/92555
More information about the llvm-commits
mailing list