[llvm] [flang] [libc] [clang] [libcxx] [lld] [clang-tools-extra] [lldb] [compiler-rt] [VPlan] Implement cloning of VPlans. (PR #73158)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 25 15:08:01 PST 2024


================
@@ -982,6 +1037,92 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB,
   assert(DT->verify(DominatorTree::VerificationLevel::Fast));
 }
 
+static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry,
----------------
ayalz wrote:

Should `remapOperands()` be a lambda inside VPlan::clone()?

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


More information about the llvm-commits mailing list