[llvm] [VPlan] Manage created blocks directly in VPlan. (NFC) (PR #120918)

via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 29 14:26:14 PST 2024


================
@@ -396,7 +398,6 @@ static bool mergeBlocksIntoPredecessors(VPlan &Plan) {
       VPBlockUtils::disconnectBlocks(VPBB, Succ);
       VPBlockUtils::connectBlocks(PredVPBB, Succ);
     }
----------------
ayalz wrote:

```suggestion
    }
    // VPBB is now dead and will be cleaned up when the plan gets destroyed.
```

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


More information about the llvm-commits mailing list