[libcxx-commits] [clang-tools-extra] [libcxx] [flang] [lld] [lldb] [libc] [llvm] [compiler-rt] [clang] [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


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

I left it as is, as keeping it is quite long and having it separate makes it a bit easier to read IMO (also reduces one level of indent), but happy to move it preferred.

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


More information about the libcxx-commits mailing list