================ @@ -83,13 +88,6 @@ class VPBuilder { VPBasicBlock *getInsertBlock() const { return BB; } ---------------- fhahn wrote: Would it be sufficient to retrieve the plan from the insert block? https://github.com/llvm/llvm-project/pull/125364