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

via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 29 11:54:09 PST 2024


================
@@ -1217,6 +1222,7 @@ static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry,
 }
 
 VPlan *VPlan::duplicate() {
+  unsigned CreatedBlockSize = CreatedBlocks.size();
----------------
ayalz wrote:

```suggestion
  unsigned NumBlocksBeforeCloning = CreatedBlocks.size();
```

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


More information about the llvm-commits mailing list