[libcxx-commits] [libcxx] [lldb] [clang] [compiler-rt] [libc] [lld] [llvm] [flang] [clang-tools-extra] [VPlan] Implement cloning of VPlans. (PR #73158)
Florian Hahn via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jan 26 03:18:34 PST 2024
================
@@ -614,6 +614,61 @@ void VPBasicBlock::print(raw_ostream &O, const Twine &Indent,
printSuccessors(O, Indent);
}
#endif
+static void cloneCFG(VPBlockBase *Entry,
+ DenseMap<VPBlockBase *, VPBlockBase *> &Old2NewVPBlocks);
+
+static VPBlockBase *cloneVPB(VPBlockBase *BB) {
----------------
fhahn wrote:
Updated to move block cloning to `::clone()` (in line with recipes) and renamed `VPlan::clone` to `VPlan::duplicate`.
https://github.com/llvm/llvm-project/pull/73158
More information about the libcxx-commits
mailing list