[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


================
@@ -3081,6 +3130,9 @@ class VPRegionBlock : public VPBlockBase {
   /// this VPRegionBlock, thereby "executing" the VPlan.
   void execute(VPTransformState *State) override;
 
+  // Compute the cost of this region.
----------------
ayalz wrote:

```suggestion
  // Return the cost of this region.
```

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


More information about the llvm-commits mailing list