[libc-commits] [lld] [lldb] [clang-tools-extra] [clang] [libcxx] [libc] [flang] [llvm] [compiler-rt] [VPlan] Implement cloning of VPlans. (PR #73158)
Florian Hahn via libc-commits
libc-commits at lists.llvm.org
Thu Jan 25 13:10:37 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:
I am not sure, the reason for keeping it static here is that it would only be useful in combination with operand remapping, having it as member of the API may be a bit error prone.
https://github.com/llvm/llvm-project/pull/73158
More information about the libc-commits
mailing list