================ @@ -1200,6 +1271,59 @@ void VPUser::printOperands(raw_ostream &O, VPSlotTracker &SlotTracker) const { } #endif +VPBlockBase *VPBlockUtils::cloneCFG( + VPBlockBase *Entry, DenseMap<VPBlockBase *, VPBlockBase *> &Old2New, + DenseMap<VPValue *, VPValue *> &Old2NewVPValues, bool FullRemapping) { + ReversePostOrderTraversal<VPBlockShallowTraversalWrapper<VPBlockBase *>> RPOT( + Entry); + VPBlockBase *NewEntry = nullptr; + for (VPBlockBase *BB : RPOT) { + VPBlockBase *NewBB = BB->clone(); + if (!NewEntry) + NewEntry = NewBB; ---------------- fhahn wrote:
updated, thanks! https://github.com/llvm/llvm-project/pull/73158 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits